METHOD_0 ( ) { final com . baeldung . IDENT_0 . data . solr . model . IDENT_1 IDENT_2 = new com . baeldung . IDENT_0 . data . solr . model . METHOD_1 ( ) ; IDENT_2 . setId ( STRING_0 ) ; IDENT_2 . setName ( STRING_1 ) ; IDENT_3 . save ( IDENT_2 ) ; final com . baeldung . IDENT_0 . data . solr . model . METHOD_1 IDENT_4 = IDENT_3 . METHOD_2 ( IDENT_2 . getId ( ) ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( IDENT_2 . getId ( ) , IDENT_4 . getId ( ) )