METHOD_0 ( ) { org . IDENT_0 . model . IDENT_1 IDENT_2 = org . IDENT_0 . test . IDENT_3 . METHOD_1 ( ) ; IDENT_2 . setId ( STRING_0 ) ; org . IDENT_0 . model . IDENT_4 IDENT_5 = new org . IDENT_0 . model . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( STRING_1 ) ; IDENT_5 . METHOD_4 ( STRING_2 ) ; IDENT_2 . METHOD_5 ( ) . METHOD_6 ( IDENT_5 ) ; when ( IDENT_6 . METHOD_7 ( consumer , STRING_3 ) ) . thenReturn ( IDENT_2 ) ; java . lang . String expected = STRING_4 ; org . IDENT_0 . model . IDENT_1 e = org . IDENT_0 . test . IDENT_3 . METHOD_1 ( ) ; e . setId ( STRING_5 ) ; e . METHOD_5 ( ) . METHOD_8 ( new org . IDENT_0 . model . METHOD_9 ( consumer , STRING_3 ) ) ; when ( IDENT_6 . get ( eq ( e . getId ( ) ) ) ) . thenReturn ( e ) ; java . lang . String result = IDENT_7 . METHOD_10 ( e . getId ( ) ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( expected , result )