METHOD_0 ( ) { byte [ ] buffer ; java . lang . String test = "test" ; java . io . ByteArrayOutputStream stream = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_0 writer = new java . io . METHOD_1 ( stream ) ; writer . println ( test ) ; writer . close ( ) ; buffer = stream . toByteArray ( ) ; stream . close ( ) ; com . IDENT_1 . IDENT_2 reader = new com . IDENT_1 . METHOD_2 ( new java . io . ByteArrayInputStream ( buffer ) , STRING_0 , java . nio . IDENT_3 . IDENT_4 . METHOD_3 ( STRING_1 ) ) ; reader . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; reader . close ( ) ; } get ( int ) { METHOD_5 ( ) ; if ( ( IDENT_5 > ( - 1 ) ) && ( IDENT_5 < ( IDENT_6 ) ) ) { return values [ IDENT_5 ] ; } else { return "" ; } }
org . junit . Assert . assertEquals ( test , reader . get ( 0 ) )