METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . core . component . network . flow . IDENT_2 target = new org . IDENT_0 . IDENT_1 . core . component . network . flow . METHOD_1 ( IDENT_3 , IDENT_4 , org . IDENT_0 . IDENT_1 . core . component . network . flow . METHOD_1 . IDENT_5 . add ) ; 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 ( 3 ) ; IDENT_10 . write ( STRING_0 ) ; IDENT_10 . write ( STRING_1 ) ; IDENT_10 . write ( STRING_2 ) ; IDENT_10 . write ( STRING_3 ) ; IDENT_10 . write ( STRING_4 ) ; IDENT_10 . write ( STRING_5 ) ; IDENT_10 . write ( STRING_6 ) ; IDENT_10 . write ( target . IDENT_14 ) ; IDENT_10 . write ( STRING_7 ) ; IDENT_10 . write ( ( ( java . lang . String ) ( null ) ) ) ; IDENT_10 . METHOD_5 ( ) ; bytes = out . toByteArray ( ) ; in = new java . io . ByteArrayInputStream ( bytes ) ; IDENT_13 = msg . METHOD_6 ( in ) ; } catch ( java . lang . Exception e ) { org . junit . Assert . fail ( STRING_8 ) ; } target = org . mockito . Mockito . METHOD_7 ( new org . IDENT_0 . IDENT_1 . core . component . network . flow . METHOD_1 ( ) ) ; try { target . METHOD_8 ( IDENT_13 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; return ; } org . junit . Assert . fail ( STRING_9 ) ; } METHOD_8 ( org . IDENT_6 . IDENT_11 . IDENT_12 ) { int size = IDENT_13 . METHOD_9 ( ) ; if ( size != ( org . IDENT_0 . IDENT_1 . IDENT_15 . event . IDENT_16 . IDENT_17 ) ) { throw new java . io . IOException ( ) ; } while ( ( size OP_0 ) > 0 ) { java . lang . String field = IDENT_13 . METHOD_10 ( ) ; switch ( field ) { case STRING_4 : action = IDENT_13 . METHOD_10 ( ) ; break ; case STRING_6 : if ( ! ( IDENT_13 . METHOD_11 ( ) ) ) { IDENT_14 = IDENT_13 . read ( this . IDENT_18 ) ; } break ; case STRING_7 : if ( ! ( IDENT_13 . METHOD_11 ( ) ) ) { IDENT_19 = IDENT_13 . read ( this . IDENT_18 ) ; } break ; default : throw new java . io . IOException ( ) ; } } IDENT_13 . METHOD_12 ( ) ; }
org . junit . Assert . assertTrue ( ( e instanceof java . io . IOException ) )