METHOD_0 ( ) { when ( context . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; when ( context . METHOD_2 ( STRING_1 , IDENT_0 . User . class ) ) . thenReturn ( new IDENT_0 . User ( STRING_2 ) ) ; when ( IDENT_1 . METHOD_3 ( context . METHOD_4 ( ) , result , STRING_3 ) ) . thenReturn ( STRING_4 ) ; java . lang . String out = invoke ( context , result ) ; "<AssertPlaceHolder>" ; } invoke ( IDENT_2 . Context , IDENT_2 . Result ) { IDENT_3 . invoke ( context , result ) ; return output . toString ( STRING_5 ) ; }
org . junit . Assert . assertThat ( out , org . hamcrest . CoreMatchers . is ( STRING_2 ) )