SessionTicketTlsExtensionHandler extends ExtensionHandler<SessionTicketTLSExtensionMessage> { @Override public SessionTicketTLSExtensionParser getParser(byte[] message, int pointer) { return new SessionTicketTLSExtensionParser(pointer, message); } SessionTicketTlsExtensionHandler(TlsContext context); @Override SessionTicketTLSExtensionParser getParser(byte[] message, int pointer); @Override SessionTicketTLSExtensionPreparator getPreparator(SessionTicketTLSExtensionMessage message); @Override SessionTicketTLSExtensionSerializer getSerializer(SessionTicketTLSExtensionMessage message); @Override void adjustTLSExtensionContext(SessionTicketTLSExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof SessionTicketTLSExtensionParser); }