METHOD_0 ( ) { final io . IDENT_0 . buffer . IDENT_1 buffer = mock ( io . IDENT_0 . buffer . IDENT_1 . class ) ; when ( buffer . METHOD_1 ( IDENT_2 . IDENT_3 ) ) . METHOD_2 ( new java . io . IOException ( STRING_0 ) ) ; when ( buffer . METHOD_3 ( ) ) . thenReturn ( 5 ) ; try { io . IDENT_0 . packet . IDENT_4 . impl . IDENT_5 . parse ( buffer ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( final io . IDENT_0 . packet . IDENT_4 . IDENT_6 e ) { "<AssertPlaceHolder>" ; } } METHOD_4 ( ) { return this . IDENT_7 ; }
org . junit . Assert . assertThat ( e . METHOD_4 ( ) , org . hamcrest . CoreMatchers . is ( 5 ) )