METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = org . apache . commons . codec . IDENT_2 . IDENT_3 . METHOD_1 ( IDENT_0 . getBytes ( ) ) . trim ( ) ; org . exist . IDENT_4 . value . IDENT_5 IDENT_6 = new org . exist . IDENT_4 . value . METHOD_2 ( new org . exist . IDENT_4 . value . METHOD_3 ( ) , IDENT_1 ) ; try ( final java . io . InputStream is = IDENT_6 . METHOD_0 ( ) ; final org . exist . util . io . IDENT_7 IDENT_8 = new org . exist . util . io . METHOD_4 ( ) ) { IDENT_8 . write ( is ) ; "<AssertPlaceHolder>" ; } } getBytes ( ) { long IDENT_9 = IDENT_10 . METHOD_5 ( ) ; try { if ( ( content ) != null ) { byte [ ] buffer = new byte [ ( ( int ) ( content . size ( ) ) ) ] ; content . read ( buffer , 0L , 0 , buffer . length ) ; return buffer ; } else if ( ( IDENT_11 ) != null ) { return java . nio . file . IDENT_12 . METHOD_6 ( IDENT_11 ) ; } } catch ( java . io . IOException e ) { org . exist . util . io . IDENT_13 . LOG . error ( STRING_1 , e ) ; } finally { IDENT_10 . METHOD_7 ( IDENT_9 ) ; } return org . exist . util . io . IDENT_13 . IDENT_14 ; }
org . junit . Assert . assertArrayEquals ( IDENT_0 . getBytes ( ) , IDENT_8 . toByteArray ( ) )