ExtendedMasterSecretExtensionHandler extends ExtensionHandler<ExtendedMasterSecretExtensionMessage> { @Override public ExtendedMasterSecretExtensionParser getParser(byte[] message, int pointer) { return new ExtendedMasterSecretExtensionParser(pointer, message); } ExtendedMasterSecretExtensionHandler(TlsContext context); @Override ExtendedMasterSecretExtensionParser getParser(byte[] message, int pointer); @Override ExtendedMasterSecretExtensionPreparator getPreparator(ExtendedMasterSecretExtensionMessage message); @Override ExtendedMasterSecretExtensionSerializer getSerializer(ExtendedMasterSecretExtensionMessage message); @Override void adjustTLSExtensionContext(ExtendedMasterSecretExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[] {}, 0) instanceof ExtendedMasterSecretExtensionParser); }