METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . client . schema . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . client . schema . IDENT_2 . class ) ; org . IDENT_0 . IDENT_1 . client . schema . IDENT_4 processor = new org . IDENT_0 . IDENT_1 . client . schema . METHOD_1 ( ) ; processor . METHOD_2 ( IDENT_3 ) ; processor . METHOD_2 ( IDENT_3 ) ; processor . METHOD_2 ( null ) ; java . net . URL IDENT_5 = java . lang . Thread . METHOD_3 ( ) . METHOD_4 ( ) . getResource ( STRING_0 ) ; java . io . IDENT_6 IDENT_7 = new java . io . METHOD_5 ( new java . io . File ( IDENT_5 . getPath ( ) ) ) ; java . io . ByteArrayOutputStream IDENT_8 = new java . io . ByteArrayOutputStream ( ) ; org . apache . commons . IDENT_9 . utils . IDENT_10 . METHOD_6 ( IDENT_7 , IDENT_8 ) ; java . lang . String IDENT_11 = new java . lang . String ( IDENT_8 . toByteArray ( ) , STRING_1 ) ; org . apache . avro . Schema schema = new org . apache . avro . Schema . METHOD_7 ( ) . parse ( IDENT_11 ) ; processor . METHOD_8 ( java . nio . ByteBuffer . METHOD_9 ( IDENT_11 . getBytes ( ) ) ) ; processor . METHOD_8 ( null ) ; processor . METHOD_10 ( IDENT_3 ) ; processor . METHOD_10 ( null ) ; processor . METHOD_8 ( java . nio . ByteBuffer . METHOD_9 ( IDENT_11 . getBytes ( ) ) ) ; verify ( IDENT_3 , times ( 1 ) ) . METHOD_11 ( eq ( schema ) ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( ) { return schema ; }
org . junit . Assert . assertEquals ( schema , processor . METHOD_12 ( ) )