RenegotiationInfoExtensionHandler extends ExtensionHandler<RenegotiationInfoExtensionMessage> { @Override public RenegotiationInfoExtensionParser getParser(byte[] message, int pointer) { return new RenegotiationInfoExtensionParser(pointer, message); } RenegotiationInfoExtensionHandler(TlsContext context); @Override RenegotiationInfoExtensionParser getParser(byte[] message, int pointer); @Override RenegotiationInfoExtensionPreparator getPreparator(RenegotiationInfoExtensionMessage message); @Override RenegotiationInfoExtensionSerializer getSerializer(RenegotiationInfoExtensionMessage message); @Override void adjustTLSExtensionContext(RenegotiationInfoExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof RenegotiationInfoExtensionParser); }