METHOD_0 ( ) { java . lang . String id = "1" ; when ( IDENT_0 . get ( java . lang . Long . valueOf ( id ) ) ) . thenReturn ( entity ) ; IDENT_1 . METHOD_1 ( id ) ; com . IDENT_2 . model . api . Entity result = IDENT_1 . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { java . lang . Long IDENT_3 = METHOD_3 ( ) ; if ( IDENT_3 == null ) { return null ; } return METHOD_4 ( ) . get ( IDENT_3 ) ; }
org . junit . Assert . assertEquals ( entity , result )