*/
public void testInputStreamSourceReady () throws IOException
{
Source source;
source = new InputStreamSource (new Stream (new ByteArrayInputStream (new byte[] { (byte)0x42, (byte)0x62 })), null);
assertTrue ("ready?", !source.ready ());
assertTrue ("erroneous character", 'B' == source.read ());
assertTrue ("not ready", source.ready ());
assertTrue ("erroneous character", 'b' == source.read ());
assertTrue ("ready?", !source.ready ());