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 ) ; final boolean IDENT_2 = IDENT_3 . METHOD_3 ( user . getId ( ) ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertThat ( IDENT_2 , org . hamcrest . CoreMatchers . is ( true ) )