public void testEOFDouble() throws Exception
{
try
{
JMSBytesMessage bm = TestMessageHelper.newJMSBytesMessage();
bm.writeDouble(1.3d);
bm.reset();
bm.readDouble();
// should throw
bm.readDouble();
fail("expected exception did not occur");
}
catch (MessageEOFException m)
{
// ok