SupportedVersionsExtensionHandler extends ExtensionHandler<SupportedVersionsExtensionMessage> { @Override public SupportedVersionsExtensionParser getParser(byte[] message, int pointer) { return new SupportedVersionsExtensionParser(pointer, message); } SupportedVersionsExtensionHandler(TlsContext context); @Override SupportedVersionsExtensionParser getParser(byte[] message, int pointer); @Override SupportedVersionsExtensionPreparator getPreparator(SupportedVersionsExtensionMessage message); @Override SupportedVersionsExtensionSerializer getSerializer(SupportedVersionsExtensionMessage message); @Override void adjustTLSExtensionContext(SupportedVersionsExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[] { 0, 2 }, 0) instanceof SupportedVersionsExtensionParser); }