ExtendedRandomExtensionHandler extends ExtensionHandler<ExtendedRandomExtensionMessage> { @Override public ExtendedRandomExtensionParser getParser(byte[] message, int pointer) { return new ExtendedRandomExtensionParser(pointer, message); } ExtendedRandomExtensionHandler(TlsContext context); @Override ExtendedRandomExtensionParser getParser(byte[] message, int pointer); @Override ExtendedRandomExtensionPreparator getPreparator(ExtendedRandomExtensionMessage message); @Override ExtendedRandomExtensionSerializer getSerializer(ExtendedRandomExtensionMessage message); @Override void adjustTLSExtensionContext(ExtendedRandomExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof ExtendedRandomExtensionParser); }