METHOD_0 ( ) { org . teiid . common . buffer . IDENT_0 fs = org . teiid . common . buffer . IDENT_1 . METHOD_1 ( ) . METHOD_2 ( "test" ) ; org . teiid . common . buffer . IDENT_2 factory = new org . teiid . common . buffer . METHOD_3 ( fs , org . teiid . core . types . IDENT_3 . IDENT_4 ) ; java . io . IDENT_5 IDENT_6 = factory . METHOD_4 ( 0 ) ; IDENT_6 . write ( new byte [ 2 ] ) ; IDENT_6 . close ( ) ; java . io . InputStream is = factory . METHOD_5 ( 0 , 1 ) ; is . read ( ) ; "<AssertPlaceHolder>" ; } read ( ) { if ( this . IDENT_7 ) { throw new java . lang . IllegalStateException ( IDENT_8 . IDENT_9 . getString ( STRING_0 ) ) ; } while ( ( ( this . IDENT_10 ) == null ) || ( ( this . IDENT_10 . length ) <= ( IDENT_11 ) ) ) { if ( this . IDENT_12 ) { return - 1 ; } org . teiid . client . IDENT_13 . IDENT_14 value = this . reader . METHOD_6 ( ) ; this . IDENT_12 = value . METHOD_7 ( ) ; this . IDENT_10 = value . getBytes ( ) ; this . IDENT_11 = 0 ; } return ( IDENT_10 [ ( ( IDENT_11 ) ++ ) ] ) & 255 ; }
org . junit . Assert . assertEquals ( ( - 1 ) , is . read ( ) )