METHOD_0 ( ) { final java . io . IOException IDENT_0 = new java . io . IOException ( ) ; final java . io . InputStream IDENT_1 = mock ( java . io . InputStream . class ) ; METHOD_1 ( IDENT_1 ) ; when ( IDENT_1 . read ( any ( byte [ ] . class ) ) ) . METHOD_2 ( IDENT_0 ) ; final java . io . IOException actual = METHOD_3 ( java . io . IOException . class , new uk . org . IDENT_2 . lang . METHOD_4 ( ) { @ uk . org . IDENT_2 . IDENT_3 . Override public void METHOD_5 ( ) throws uk . org . IDENT_2 . IDENT_3 . Exception { new uk . org . IDENT_2 . IDENT_3 . METHOD_6 ( uk . org . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { try { IDENT_6 . apply ( new org . junit . runners . model . METHOD_7 ( ) { @ uk . org . IDENT_2 . IDENT_3 . Override public void evaluate ( ) throws java . lang . Throwable { throw IDENT_7 ; } } , org . junit . runner . IDENT_8 . IDENT_9 ) . evaluate ( ) ; } catch ( java . lang . Throwable IDENT_10 ) { METHOD_8 ( IDENT_10 ) ; } }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . is ( IDENT_0 ) )