METHOD_0 ( ) { java . io . ByteArrayOutputStream IDENT_0 = new java . io . ByteArrayOutputStream ( ) ; try ( com . liferay . portal . kernel . io . IDENT_1 IDENT_2 = new com . liferay . portal . kernel . io . METHOD_1 ( IDENT_0 ) ) { byte [ ] bytes = new byte [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_0 , STRING_1 , STRING_2 } ; IDENT_2 . write ( bytes , 0 , 1 ) ; IDENT_2 . write ( bytes , 1 , 2 ) ; IDENT_2 . write ( bytes , 3 , 3 ) ; } try ( java . io . ByteArrayInputStream IDENT_3 = new java . io . ByteArrayInputStream ( IDENT_0 . toByteArray ( ) ) ) { "<AssertPlaceHolder>" ; } } read ( java . lang . String ) { java . lang . Class < ? > clazz = getClass ( ) ; java . net . URL url = clazz . getResource ( IDENT_4 ) ; byte [ ] bytes = java . nio . file . IDENT_5 . METHOD_2 ( java . nio . file . IDENT_6 . get ( url . METHOD_3 ( ) ) ) ; return new java . lang . String ( bytes , STRING_3 ) ; }
org . junit . Assert . assertEquals ( 8 , IDENT_3 . read ( new byte [ 8 ] ) )