METHOD_0 ( ) { com . baeldung . model . User user = new com . baeldung . model . User ( ) ; user . setName ( STRING_0 ) ; IDENT_0 . insert ( user ) ; user = IDENT_0 . METHOD_1 ( org . springframework . data . mongodb . core . query . Query . query ( org . springframework . data . mongodb . core . query . IDENT_1 . METHOD_2 ( "name" ) . is ( STRING_0 ) ) , com . baeldung . model . User . class ) ; user . setName ( STRING_1 ) ; IDENT_2 . save ( user ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . springframework . data . domain . IDENT_3 ) { return IDENT_4 . METHOD_3 ( IDENT_5 ) . map ( IDENT_6 :: IDENT_7 ) ; }
org . junit . Assert . assertThat ( IDENT_0 . METHOD_3 ( com . baeldung . model . User . class ) . size ( ) , org . hamcrest . CoreMatchers . is ( 1 ) )