METHOD_0 ( ) { java . net . URL IDENT_0 = java . lang . Thread . METHOD_1 ( ) . METHOD_2 ( ) . getResource ( STRING_0 ) ; final org . apache . avro . Schema schema = new org . apache . avro . Schema . METHOD_3 ( ) . parse ( new java . io . File ( IDENT_0 . getPath ( ) ) ) ; org . IDENT_1 . IDENT_2 . client . schema . storage . IDENT_3 manager = new org . IDENT_1 . IDENT_2 . client . schema . storage . METHOD_4 ( ) ; manager . METHOD_5 ( new org . IDENT_1 . IDENT_2 . client . schema . METHOD_6 ( ) { @ org . IDENT_1 . IDENT_2 . client . schema . storage . Override public void METHOD_7 ( java . nio . ByteBuffer buffer ) throws java . io . IOException { byte [ ] IDENT_4 = null ; try { IDENT_4 = schema . toString ( ) . getBytes ( STRING_1 ) ; } catch ( java . io . IDENT_5 e ) { } "<AssertPlaceHolder>" ; } @ org . IDENT_1 . IDENT_2 . client . schema . storage . Override public org . apache . avro . Schema METHOD_8 ( ) { return null ; } } ) ; manager . METHOD_9 ( new org . IDENT_1 . IDENT_2 . client . schema . storage . METHOD_10 ( ) { @ org . IDENT_1 . IDENT_2 . client . schema . storage . Override public void METHOD_11 ( java . nio . ByteBuffer buffer ) { } @ org . IDENT_1 . IDENT_2 . client . schema . storage . Override public java . nio . ByteBuffer METHOD_7 ( ) { byte [ ] IDENT_4 = null ; try { IDENT_4 = schema . toString ( ) . getBytes ( STRING_1 ) ; } catch ( java . io . IDENT_5 e ) { } java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_12 ( IDENT_4 ) ; return buffer ; } } ) ; } getBytes ( java . nio . ByteBuffer ) { byte [ ] array = null ; if ( IDENT_6 != null ) { array = com . IDENT_7 . driver . core . utils . IDENT_8 . METHOD_13 ( IDENT_6 ) ; } return array ; }
org . junit . Assert . assertArrayEquals ( IDENT_4 , buffer . array ( ) )