METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . mockito . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . mockito . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . mockito . IDENT_3 . IDENT_4 . IDENT_7 IDENT_8 = mock ( com . IDENT_0 . IDENT_1 . IDENT_2 . mockito . IDENT_3 . IDENT_4 . IDENT_7 . class ) ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_8 . METHOD_2 ( ) ) . thenReturn ( STRING_0 ) ; IDENT_6 . METHOD_1 ( ) . METHOD_2 ( ) ; verify ( IDENT_6 . METHOD_1 ( ) ) . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return IDENT_8 ; }
org . junit . Assert . assertEquals ( STRING_0 , IDENT_6 . METHOD_1 ( ) . METHOD_2 ( ) )