METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . io . InputStream is = new java . io . ByteArrayInputStream ( IDENT_0 . getBytes ( ) ) ; org . apache . avro . Schema schema = parser . parse ( is ) ; org . apache . avro . io . IDENT_1 < java . lang . Integer > writer = new org . apache . avro . IDENT_2 . IDENT_3 < java . lang . Integer > ( schema ) ; byte [ ] bytes = org . IDENT_4 . data . hbase . avro . IDENT_5 . METHOD_1 ( 1 , writer ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( T , org . apache . avro . io . IDENT_1 ) { java . io . ByteArrayOutputStream IDENT_6 = new java . io . ByteArrayOutputStream ( ) ; org . apache . avro . io . IDENT_7 IDENT_8 = new org . apache . avro . io . METHOD_2 ( ) . METHOD_3 ( IDENT_6 , null ) ; org . IDENT_4 . data . hbase . avro . IDENT_5 . METHOD_1 ( entity , IDENT_8 , writer ) ; return IDENT_6 . toByteArray ( ) ; }
org . junit . Assert . assertArrayEquals ( new byte [ ] { ( ( byte ) ( 2 ) ) } , bytes )