METHOD_0 ( ) { target = new org . IDENT_0 . IDENT_1 . IDENT_2 . event . IDENT_3 . METHOD_1 ( action , IDENT_4 , IDENT_5 ) ; org . IDENT_6 . IDENT_7 msg = new org . IDENT_6 . METHOD_2 ( ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; org . IDENT_6 . IDENT_8 . IDENT_9 IDENT_10 = msg . METHOD_3 ( out ) ; byte [ ] bytes ; java . io . ByteArrayInputStream in ; org . IDENT_6 . IDENT_11 . IDENT_12 IDENT_13 = null ; try { IDENT_10 . METHOD_4 ( 2 ) ; IDENT_10 . write ( STRING_0 ) ; IDENT_10 . write ( target . action ( ) ) ; IDENT_10 . write ( STRING_1 ) ; IDENT_10 . write ( target . METHOD_5 ( ) ) ; IDENT_10 . write ( STRING_2 ) ; IDENT_10 . write ( target . METHOD_6 ( ) ) ; IDENT_10 . METHOD_7 ( ) ; bytes = out . toByteArray ( ) ; in = new java . io . ByteArrayInputStream ( bytes ) ; IDENT_13 = msg . METHOD_8 ( in ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( STRING_3 ) ; } target = new org . IDENT_0 . IDENT_1 . IDENT_2 . event . IDENT_3 . METHOD_1 ( java . lang . String . class ) ; try { target . METHOD_9 ( IDENT_13 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; return ; } org . junit . Assert . fail ( STRING_4 ) ; } METHOD_9 ( org . IDENT_6 . IDENT_11 . IDENT_12 ) { int size = IDENT_13 . METHOD_10 ( ) ; if ( size != ( org . IDENT_0 . IDENT_1 . IDENT_2 . event . IDENT_14 . IDENT_15 ) ) { throw new java . io . IOException ( ) ; } while ( ( size OP_0 ) > 0 ) { java . lang . String field = IDENT_13 . METHOD_11 ( ) ; switch ( field ) { case STRING_0 : action = IDENT_13 . METHOD_11 ( ) ; break ; case STRING_1 : if ( ! ( IDENT_13 . METHOD_12 ( ) ) ) { METHOD_5 = IDENT_13 . read ( this . IDENT_16 ) ; } break ; case STRING_2 : if ( ! ( IDENT_13 . METHOD_12 ( ) ) ) { METHOD_6 = IDENT_13 . read ( this . IDENT_16 ) ; } break ; default : throw new java . io . IOException ( ) ; } } IDENT_13 . METHOD_13 ( ) ; }
org . junit . Assert . assertTrue ( ( e instanceof java . io . IOException ) )