UserMappingExtensionHandler extends ExtensionHandler<UserMappingExtensionMessage> { @Override public UserMappingExtensionParser getParser(byte[] message, int pointer) { return new UserMappingExtensionParser(pointer, message); } UserMappingExtensionHandler(TlsContext context); @Override UserMappingExtensionParser getParser(byte[] message, int pointer); @Override UserMappingExtensionPreparator getPreparator(UserMappingExtensionMessage message); @Override UserMappingExtensionSerializer getSerializer(UserMappingExtensionMessage message); @Override void adjustTLSExtensionContext(UserMappingExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof UserMappingExtensionParser); }