@@ -905,19 +905,18 @@ void whenDeletingMessageForMe_thenIsDeletedForMe() {
905905 .deletedBy (testUserRequestObject .getId ())
906906 .request ())
907907 .getMessage ();
908-
908+
909909 // Verify the delete request was successful
910910 Assertions .assertNotNull (deletedMessage );
911-
912- // For delete for me, the message should still exist but be marked as deleted for the specific user
911+
912+ // For delete for me, the message should still exist but be marked as deleted for the specific
913+ // user
913914 // The deletedAt might be null as this is a "soft delete for me" operation
914915 System .out .println ("Delete for me response - deletedAt: " + deletedMessage .getDeletedAt ());
915-
916+
916917 // Verify the message still exists (delete for me doesn't permanently delete)
917918 Message retrievedMessage =
918- Assertions .assertDoesNotThrow (
919- () -> Message .get (message .getId ()).request ())
920- .getMessage ();
919+ Assertions .assertDoesNotThrow (() -> Message .get (message .getId ()).request ()).getMessage ();
921920 Assertions .assertNotNull (retrievedMessage );
922921 Assertions .assertEquals (message .getId (), retrievedMessage .getId ());
923922 }
@@ -942,15 +941,13 @@ void whenUsingDeleteForMeConvenienceMethod_thenIsDeletedForMe() {
942941 Assertions .assertDoesNotThrow (
943942 () -> Message .deleteForMe (message .getId (), testUserRequestObject .getId ()).request ())
944943 .getMessage ();
945-
944+
946945 // Verify the delete request was successful
947946 Assertions .assertNotNull (deletedMessage );
948-
947+
949948 // Verify the message still exists (delete for me doesn't permanently delete)
950949 Message retrievedMessage =
951- Assertions .assertDoesNotThrow (
952- () -> Message .get (message .getId ()).request ())
953- .getMessage ();
950+ Assertions .assertDoesNotThrow (() -> Message .get (message .getId ()).request ()).getMessage ();
954951 Assertions .assertNotNull (retrievedMessage );
955952 Assertions .assertEquals (message .getId (), retrievedMessage .getId ());
956953 }
0 commit comments