METHOD_0 ( ) { setName ( IDENT_0 , STRING_0 ) ; com . IDENT_1 . IDENT_2 . model . IDENT_3 IDENT_4 = com . IDENT_1 . IDENT_2 . model . IDENT_5 . mock ( com . IDENT_1 . IDENT_2 . model . IDENT_3 . class ) ; when ( IDENT_4 . getName ( ) ) . thenReturn ( STRING_1 ) ; com . IDENT_1 . IDENT_2 . model . IDENT_6 IDENT_7 = METHOD_1 ( STRING_2 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; METHOD_3 ( IDENT_0 , java . util . Collections . singletonList ( IDENT_4 ) ) ; java . lang . String expected = "" + ( ( ( ( STRING_3 + "\n" ) + STRING_4 ) + "\n" ) + STRING_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return METHOD_5 ( ) . METHOD_6 ( this ) . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_0 . METHOD_4 ( ) )