new byte[] {(byte)0x16,(byte)0x16}).setSize((short)2)
.setSessionID((byte) 0x00).setEof().setClose().setAckRequired();
dm.send(os);
//Verify that a properly formatted acknowledgement message is
//received
AcknowledgementMessage am = new AcknowledgementMessage();
try {
am.receive(is,getTimeout());
} catch (ProtocolException e) {
e.printStackTrace();
throw new TestException(e.getMessage(),e);
}
//Verify that the contents of the server message were received