EncryptThenMacExtensionParser extends ExtensionParser<EncryptThenMacExtensionMessage> { @Override public void parseExtensionMessageContent(EncryptThenMacExtensionMessage msg) { } EncryptThenMacExtensionParser(int startposition, byte[] array); @Override void parseExtensionMessageContent(EncryptThenMacExtensionMessage msg);  }
@Test public void testParseExtensionMessageContent() { message = parser.parse(); assertArrayEquals(extensionType.getValue(), message.getExtensionType().getValue()); assertEquals(extensionLength, (long) message.getExtensionLength().getValue()); }