PasswordSaltExtensionHandler extends ExtensionHandler<PasswordSaltExtensionMessage> { @Override public PasswordSaltExtensionParser getParser(byte[] message, int pointer) { return new PasswordSaltExtensionParser(pointer, message); } PasswordSaltExtensionHandler(TlsContext context); @Override void adjustTLSExtensionContext(PasswordSaltExtensionMessage message); @Override PasswordSaltExtensionParser getParser(byte[] message, int pointer); @Override PasswordSaltExtensionPreparator getPreparator(PasswordSaltExtensionMessage message); @Override PasswordSaltExtensionSerializer getSerializer(PasswordSaltExtensionMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[0], 0) instanceof PasswordSaltExtensionParser); }