logger.log(Level.FINE,"test case " + (counter++)
+ ": reading response input stream returns 0x00");
logger.log(Level.FINE,"");
iterator.init();
fakeRequest.setResponseInputStream(new FakeInputStream(null,0x00));
request = boe.newCall(InvocationConstraints.EMPTY).next();
assertion(
boe.executeCall(request) instanceof NoSuchObjectException);
logger.log(Level.FINE,"=================================");
logger.log(Level.FINE,"test case " + (counter++)
+ ": reading response input stream returns 0x01");
logger.log(Level.FINE,"");
iterator.init();
fakeRequest.setResponseInputStream(new FakeInputStream(null,0x01));
request = boe.newCall(InvocationConstraints.EMPTY).next();
assertion(boe.executeCall(request) == null);
logger.log(Level.FINE,"=================================");
logger.log(Level.FINE,"test case " + (counter++)
+ ": reading response input stream returns 0x02");
logger.log(Level.FINE,"");
iterator.init();
fakeRequest.setResponseInputStream(new FakeInputStream(null,0x02));
request = boe.newCall(InvocationConstraints.EMPTY).next();
assertion(
boe.executeCall(request) instanceof UnmarshalException);
}