PWDClearExtensionHandler extends ExtensionHandler<PWDClearExtensionMessage> { @Override public PWDClearExtensionSerializer getSerializer(PWDClearExtensionMessage message) { return new PWDClearExtensionSerializer(message); } PWDClearExtensionHandler(TlsContext context); @Override void adjustTLSExtensionContext(PWDClearExtensionMessage message); @Override PWDClearExtensionParser getParser(byte[] message, int pointer); @Override PWDClearExtensionPreparator getPreparator(PWDClearExtensionMessage message); @Override PWDClearExtensionSerializer getSerializer(PWDClearExtensionMessage message);  }
@Test public void testGetSerializer() { assertTrue(handler.getSerializer(new PWDClearExtensionMessage()) instanceof PWDClearExtensionSerializer); }