PaddingExtensionHandler extends ExtensionHandler<PaddingExtensionMessage> { @Override public PaddingExtensionParser getParser(byte[] message, int pointer) { return new PaddingExtensionParser(pointer, message); } PaddingExtensionHandler(TlsContext context); @Override PaddingExtensionParser getParser(byte[] message, int pointer); @Override PaddingExtensionPreparator getPreparator(PaddingExtensionMessage message); @Override PaddingExtensionSerializer getSerializer(PaddingExtensionMessage message); @Override void adjustTLSExtensionContext(PaddingExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof PaddingExtensionParser); }