METHOD_0 ( ) { java . lang . Object expected = new java . lang . Object ( ) ; java . lang . Object [ ] args = new java . lang . Object [ 0 ] ; org . IDENT_0 . IDENT_1 . config . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . config . IDENT_2 . class ) ; org . IDENT_0 . IDENT_1 . io . IDENT_4 request = mock ( org . IDENT_0 . IDENT_1 . io . IDENT_4 . class ) ; org . IDENT_0 . IDENT_1 . io . Response response = mock ( org . IDENT_0 . IDENT_1 . io . Response . class ) ; org . IDENT_0 . IDENT_1 . handler . IDENT_5 IDENT_6 = mock ( org . IDENT_0 . IDENT_1 . handler . IDENT_5 . class ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( IDENT_6 ) ; when ( config . METHOD_2 ( org . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 ) ) . thenReturn ( IDENT_3 ) ; METHOD_3 ( org . IDENT_0 . IDENT_1 . util . IDENT_10 . class ) ; when ( org . IDENT_0 . IDENT_1 . util . IDENT_10 . from ( IDENT_11 , IDENT_3 , args ) ) . thenReturn ( request ) ; when ( IDENT_12 . execute ( request ) ) . thenReturn ( response ) ; when ( IDENT_6 . METHOD_4 ( response ) ) . thenReturn ( expected ) ; org . IDENT_0 . IDENT_1 . IDENT_13 . IDENT_14 IDENT_15 = new org . IDENT_0 . IDENT_1 . METHOD_5 ( IDENT_16 , IDENT_12 , IDENT_11 , IDENT_17 ) . new org . IDENT_0 . IDENT_1 . METHOD_6 ( config ) ; java . lang . Object actual = IDENT_15 . METHOD_7 ( null , org . IDENT_0 . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 , args ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . Object , java . lang . reflect . Method , java . lang . Object [ ] ) { org . IDENT_0 . IDENT_1 . config . IDENT_2 IDENT_18 = IDENT_19 . METHOD_2 ( method ) ; org . IDENT_0 . IDENT_1 . io . IDENT_4 request = org . IDENT_0 . IDENT_1 . util . IDENT_10 . from ( IDENT_11 , IDENT_18 , args ) ; org . IDENT_0 . IDENT_1 . io . Response response = null ; try { response = IDENT_12 . execute ( request ) ; return IDENT_18 . METHOD_1 ( ) . METHOD_4 ( response ) ; } catch ( java . lang . Exception e ) { try { return IDENT_18 . METHOD_8 ( ) . METHOD_4 ( request , e ) ; } finally { org . IDENT_0 . common . lang . IDENT_20 . METHOD_9 ( response , e ) ; } } }
org . junit . Assert . assertSame ( expected , actual )