METHOD_0 ( ) { java . lang . Exception e = new java . lang . Exception ( ) ; java . lang . RuntimeException expected = new java . lang . RuntimeException ( ) ; METHOD_1 ( org . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; when ( org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( e ) ) . thenReturn ( expected ) ; org . IDENT_0 . IDENT_1 . io . IDENT_3 request = mock ( org . IDENT_0 . IDENT_1 . io . IDENT_3 . class ) ; try { IDENT_4 . METHOD_2 ( request , e ) ; } catch ( java . lang . RuntimeException IDENT_5 ) { "<AssertPlaceHolder>" ; METHOD_3 ( request ) ; } } METHOD_2 ( org . IDENT_0 . IDENT_1 . io . IDENT_3 , java . lang . Exception ) { throw org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_2 ( e ) ; }
org . junit . Assert . assertSame ( expected , IDENT_5 )