METHOD_0 ( ) { final java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_1 ( bytes . length ) ; buffer . put ( bytes ) ; buffer . METHOD_2 ( ) ; final com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 < com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_4 > IDENT_5 = new com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . schema . IDENT_6 . METHOD_3 ( ) ; final com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_4 key = IDENT_5 . METHOD_4 ( buffer . METHOD_5 ( ) ) ; final java . nio . ByteBuffer result = IDENT_5 . serialize ( key ) ; "<AssertPlaceHolder>" ; } serialize ( java . lang . String ) { if ( value == null ) { final java . nio . ByteBuffer b = java . nio . ByteBuffer . METHOD_1 ( 1 ) . put ( ( ( byte ) ( com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . schema . IDENT_6 . IDENT_7 . IDENT_8 ) ) ) ; b . METHOD_2 ( ) ; return b ; } if ( value . isEmpty ( ) ) { final java . nio . ByteBuffer b = java . nio . ByteBuffer . METHOD_1 ( 1 ) . put ( ( ( byte ) ( com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . schema . IDENT_6 . IDENT_7 . IDENT_9 ) ) ) ; b . METHOD_2 ( ) ; return b ; } final byte [ ] bytes = value . getBytes ( com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . schema . IDENT_6 . IDENT_7 . IDENT_10 ) ; final java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_1 ( ( 1 + ( bytes . length ) ) ) ; buffer . put ( ( ( byte ) ( com . spotify . IDENT_0 . IDENT_1 . IDENT_2 . schema . IDENT_6 . IDENT_7 . IDENT_11 ) ) ) ; buffer . put ( bytes ) ; buffer . METHOD_2 ( ) ; return buffer ; }
org . junit . Assert . assertEquals ( buffer , result )