METHOD_0 ( ) { setName ( IDENT_0 , STRING_0 4 ) ; METHOD_1 ( IDENT_0 , STRING_0 5 ) ; 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_0 7 ) ; com . IDENT_1 . IDENT_2 . model . IDENT_6 IDENT_7 = METHOD_2 ( STRING_1 ) ; when ( IDENT_4 . METHOD_3 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_4 . METHOD_4 ( ) ) . thenReturn ( STRING_2 ) ; METHOD_5 ( IDENT_0 , java . util . Collections . singletonList ( IDENT_4 ) ) ; com . IDENT_1 . IDENT_2 . model . IDENT_8 IDENT_9 = com . IDENT_1 . IDENT_2 . model . IDENT_5 . mock ( com . IDENT_1 . IDENT_2 . model . IDENT_8 . class ) ; when ( IDENT_9 . getType ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_9 . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_9 . METHOD_4 ( ) ) . thenReturn ( STRING_3 ) ; when ( IDENT_9 . METHOD_6 ( ) ) . thenReturn ( IDENT_0 ) ; METHOD_7 ( IDENT_0 , java . util . Collections . singletonList ( IDENT_9 ) ) ; java . lang . String expected = "" + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( STRING_4 + STRING_5 ) + STRING_6 ) + STRING_7 ) + STRING_0 9 ) + STRING_0 1 ) + STRING_0 0 ) + STRING_0 3 ) + STRING_0 8 ) + STRING_0 9 ) + STRING_0 1 ) + STRING_0 6 ) + STRING_0 3 ) + STRING_8 ) + STRING_0 9 ) + STRING_0 2 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return METHOD_9 ( ) . METHOD_10 ( this ) . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_0 . METHOD_8 ( ) )