METHOD_0 ( ) { final byte [ ] bytes = new byte [ ] { 0 , 1 } ; final byte [ ] IDENT_0 = IDENT_1 . METHOD_1 ( bytes ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( uk . gov . gchq . gaffer . data . element . IDENT_2 ) { if ( null == properties ) { return new byte [ 0 ] ; } if ( ( null == ( properties . METHOD_2 ( ) ) ) || ( properties . METHOD_2 ( ) . isEmpty ( ) ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_0 + ( uk . gov . gchq . gaffer . data . element . IDENT_2 . class . METHOD_3 ( ) ) ) ) ; } final uk . gov . gchq . gaffer . store . schema . IDENT_3 IDENT_4 = schema . METHOD_4 ( properties . METHOD_2 ( ) ) ; if ( null == IDENT_4 ) { throw new uk . gov . gchq . gaffer . exception . METHOD_5 ( ( ( STRING_1 + ( properties . METHOD_2 ( ) ) ) + STRING_2 ) ) ; } try ( final java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ) { uk . gov . gchq . gaffer . IDENT_5 . util . IDENT_6 . METHOD_1 ( IDENT_7 , properties . METHOD_2 ( ) , out ) ; METHOD_6 ( properties , IDENT_4 , out ) ; return out . toByteArray ( ) ; } catch ( final java . io . IOException e ) { throw new uk . gov . gchq . gaffer . exception . METHOD_5 ( STRING_3 , e ) ; } }
org . junit . Assert . assertSame ( bytes , IDENT_0 )