METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( org . mockito . Mockito . < java . lang . String > any ( ) , org . mockito . Mockito . < IDENT_2 . types . IDENT_3 > any ( ) , org . mockito . Mockito . < IDENT_2 . IDENT_4 > any ( ) , org . mockito . Mockito . < io . IDENT_2 . IDENT_5 . IDENT_6 . IDENT_7 > any ( ) , org . mockito . Mockito . < io . IDENT_2 . IDENT_8 . IDENT_9 > any ( ) ) ) . thenReturn ( new IDENT_2 . METHOD_2 ( IDENT_0 , new IDENT_2 . exceptions . METHOD_3 ( io . IDENT_2 . proxy . IDENT_10 . IDENT_11 . IDENT_12 , STRING_1 ) ) ) ; io . IDENT_2 . proxy . IDENT_13 < io . IDENT_2 . proxy . IDENT_10 . IDENT_14 > IDENT_15 = METHOD_4 ( io . IDENT_2 . proxy . IDENT_10 . IDENT_14 . class ) ; io . IDENT_2 . proxy . IDENT_10 . IDENT_14 proxy = IDENT_15 . METHOD_5 ( IDENT_16 ) . METHOD_6 ( IDENT_17 ) . build ( ) ; IDENT_2 . exceptions . METHOD_3 exception = null ; try { proxy . METHOD_7 ( ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( IDENT_2 . exceptions . METHOD_3 e ) { exception = e ; } "<AssertPlaceHolder>" ; } build ( ) { return build ( new io . IDENT_2 . proxy . IDENT_18 < T > ( ) { @ io . IDENT_2 . proxy . Override public void METHOD_8 ( T result ) { io . IDENT_2 . proxy . IDENT_19 . logger . trace ( STRING_3 , IDENT_20 , IDENT_21 ) ; } @ io . IDENT_2 . proxy . Override public void METHOD_9 ( io . IDENT_2 . exceptions . IDENT_22 error ) { io . IDENT_2 . proxy . IDENT_19 . logger . error ( STRING_4 , IDENT_20 , IDENT_21 , error . getMessage ( ) ) ; } } ) ; }
org . junit . Assert . assertEquals ( new IDENT_2 . exceptions . METHOD_3 ( io . IDENT_2 . proxy . IDENT_10 . IDENT_11 . IDENT_12 , STRING_1 ) , exception )