METHOD_0 ( ) { final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 message = com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 . METHOD_1 ( com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_3 . IDENT_4 , STRING_0 , STRING_1 ) ; final io . netty . buffer . IDENT_5 buffer = message . write ( com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_3 . IDENT_4 , version ) ; final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 read = com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 . read ( buffer , version ) ; "<AssertPlaceHolder>" ; } read ( io . netty . buffer . IDENT_5 , com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_6 ) { final int IDENT_7 = in . METHOD_2 ( ) ; final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_8 IDENT_9 = com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_10 . METHOD_3 ( version ) ; final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_8 . IDENT_11 header = METHOD_3 . header ( ) ; final io . netty . util . internal . IDENT_12 IDENT_13 = io . netty . util . internal . IDENT_12 . newInstance ( ) ; while ( true ) { final boolean read = header . read ( in ) ; if ( ! read ) { IDENT_13 . METHOD_4 ( ) ; in . METHOD_2 ( IDENT_7 ) ; return null ; } if ( ( in . METHOD_5 ( ) ) < ( header . length ( ) ) ) { IDENT_13 . METHOD_4 ( ) ; in . METHOD_2 ( IDENT_7 ) ; return null ; } if ( ( header . length ( ) ) > ( Integer . MAX_VALUE ) ) { throw new com . spotify . IDENT_0 . handler . codec . IDENT_1 . METHOD_6 ( ( STRING_2 + ( header . length ( ) ) ) ) ; } final io . netty . buffer . IDENT_5 IDENT_14 = in . METHOD_7 ( ( ( int ) ( header . length ( ) ) ) ) ; IDENT_14 . METHOD_8 ( ) ; IDENT_13 . add ( IDENT_14 ) ; if ( ! ( header . METHOD_9 ( ) ) ) { @ com . spotify . IDENT_0 . handler . codec . IDENT_1 . METHOD_10 ( STRING_3 ) final com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 message = com . spotify . IDENT_0 . handler . codec . IDENT_1 . IDENT_2 . from ( ( ( java . util . List < io . netty . buffer . IDENT_5 > ) ( ( java . lang . Object ) ( IDENT_13 ) ) ) ) ; IDENT_13 . METHOD_4 ( ) ; return message ; } } }
org . junit . Assert . assertThat ( read , org . hamcrest . Matchers . is ( message ) )