METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . common . internal . message . IDENT_2 msg = new com . IDENT_0 . IDENT_1 . common . internal . message . METHOD_1 ( ) ; msg . METHOD_2 ( new java . util . Date ( ) ) ; msg . METHOD_3 ( INT_0 ) ; java . util . HashMap < java . lang . String , java . lang . String > map = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; map . put ( STRING_0 , STRING_1 ) ; msg . METHOD_4 ( STRING_2 ) ; java . io . ByteArrayOutputStream IDENT_3 = new java . io . ByteArrayOutputStream ( INT_1 ) ; com . IDENT_4 . IDENT_5 . io . IDENT_6 IDENT_7 = new com . IDENT_4 . IDENT_5 . io . METHOD_5 ( IDENT_3 ) ; IDENT_7 . METHOD_6 ( factory ) ; IDENT_7 . METHOD_7 ( msg ) ; IDENT_7 . METHOD_8 ( ) ; IDENT_7 . close ( ) ; byte [ ] content = IDENT_3 . toByteArray ( ) ; com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_8 IDENT_9 = new com . IDENT_0 . IDENT_1 . common . internal . codec . METHOD_9 ( ) ; com . IDENT_0 . IDENT_1 . common . message . Message IDENT_10 = ( ( com . IDENT_0 . IDENT_1 . common . message . Message ) ( IDENT_9 . decode ( null , null , org . jboss . netty . buffer . IDENT_11 . METHOD_10 ( content ) ) ) ) ; "<AssertPlaceHolder>" ; } decode ( org . jboss . netty . channel . IDENT_12 , org . jboss . netty . channel . IDENT_13 , java . lang . Object ) { if ( ! ( msg instanceof org . jboss . netty . buffer . IDENT_14 ) ) { return msg ; } org . jboss . netty . buffer . IDENT_14 buf = ( ( org . jboss . netty . buffer . IDENT_14 ) ( msg ) ) ; java . lang . String json = buf . toString ( java . nio . IDENT_15 . IDENT_16 . METHOD_11 ( STRING_3 ) ) ; com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_17 IDENT_18 = com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_17 . METHOD_12 ( ) ; return IDENT_18 . METHOD_13 ( json , clazz ) ; }
org . junit . Assert . assertEquals ( msg , IDENT_10 )