METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . example . message . IDENT_2 IDENT_3 = new com . IDENT_0 . IDENT_1 . example . message . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( 1 ) ; IDENT_3 . METHOD_3 ( "b" ) ; com . IDENT_0 . IDENT_1 . common . internal . message . IDENT_4 message = new com . IDENT_0 . IDENT_1 . common . internal . message . METHOD_4 ( ) ; message . METHOD_5 ( IDENT_3 ) ; 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 ) ; message . METHOD_6 ( map ) ; com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_5 IDENT_6 = com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_5 . METHOD_7 ( ) ; java . lang . String json = IDENT_6 . METHOD_8 ( message ) ; com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_1 . common . internal . codec . METHOD_9 ( com . IDENT_0 . IDENT_1 . common . internal . message . METHOD_4 . class ) ; com . IDENT_0 . IDENT_1 . common . message . Message IDENT_9 = ( ( com . IDENT_0 . IDENT_1 . common . message . Message ) ( IDENT_8 . decode ( null , null , org . jboss . netty . buffer . IDENT_10 . METHOD_10 ( json . getBytes ( STRING_2 ) ) ) ) ) ; "<AssertPlaceHolder>" ; } decode ( org . jboss . netty . channel . IDENT_11 , org . jboss . netty . channel . IDENT_12 , java . lang . Object ) { if ( ! ( msg instanceof org . jboss . netty . buffer . IDENT_13 ) ) { return msg ; } org . jboss . netty . buffer . IDENT_13 buf = ( ( org . jboss . netty . buffer . IDENT_13 ) ( msg ) ) ; java . lang . String json = buf . toString ( java . nio . IDENT_14 . IDENT_15 . METHOD_11 ( STRING_2 ) ) ; com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_5 IDENT_6 = com . IDENT_0 . IDENT_1 . common . internal . codec . IDENT_5 . METHOD_7 ( ) ; return IDENT_6 . METHOD_12 ( json , clazz ) ; }
org . junit . Assert . assertEquals ( message , IDENT_9 )