@Test
 public void testMessageTrameEmptyMessage() throws IOException {
   final Message theMessage = new MessageDraft(getBrewsterObject());
   final byte[] theOutput =
       MessageSerializer.generatePingPacket(theMessage, 0, "20", 0, HARDWARE.V1);
   final String theMD5Sum =
       DigestTools.digest(new String(theOutput, "ISO-8859-1"), DigestTools.Algorithm.MD5);
   Assert.assertEquals("f2f42b1bd403696cae130c7db8383cb9", theMD5Sum);
 }
 @Test
 public void testMessageTrame() throws VasmException, IOException {
   final byte[] theOutput =
       Vasm.maketrame(getVASM().getMsgFileName(), null, 42, 5, getVASM()).toByteArray();
   VasmTestBase.assertTrameSizeIsOk(theOutput);
   final String theMD5Sum =
       DigestTools.digest(new String(theOutput, "ISO-8859-1"), DigestTools.Algorithm.MD5);
   Assert.assertEquals("3dcafcd6541bcfce3448ce9450d79148", theMD5Sum);
 }
 @Test
 public void testAsleepTrame() throws VasmException, IOException {
   final byte[] theOutput =
       Vasm.maketrame(getVASM().getSleepFileName(), null, 42, 5, getVASM()).toByteArray();
   VasmTestBase.assertTrameSizeIsOk(theOutput);
   final String theMD5Sum =
       DigestTools.digest(new String(theOutput, "ISO-8859-1"), DigestTools.Algorithm.MD5);
   Assert.assertEquals("7f3cf88deb62355fa138805ad0772e04", theMD5Sum);
 }
 @Test
 public void testWaitTrame() throws VasmException, IOException {
   final byte[] theOutput =
       Vasm.maketrame(getVASM().getWaitFileName(), null, 42, 5, getVASM()).toByteArray();
   VasmTestBase.assertTrameSizeIsOk(theOutput);
   final String theMD5Sum =
       DigestTools.digest(new String(theOutput, "ISO-8859-1"), DigestTools.Algorithm.MD5);
   Assert.assertEquals("7f0b1c8511281bb07b4b496841c8978c", theMD5Sum);
 }
 @Test
 public void testDemoTrame() throws VasmException, IOException {
   final byte[] theOutput =
       Vasm.maketrame(getVASM().getDemoFileName(), null, 42, 5, getVASM()).toByteArray();
   VasmTestBase.assertTrameSizeIsOk(theOutput);
   final String theMD5Sum =
       DigestTools.digest(new String(theOutput, "ISO-8859-1"), DigestTools.Algorithm.MD5);
   Assert.assertEquals("cbe66bd730815038cee40170835bf96a", theMD5Sum);
 }