ECDHClientKeyExchangeHandler extends ClientKeyExchangeHandler<ECDHClientKeyExchangeMessage> { @Override public ECDHClientKeyExchangeParser getParser(byte[] message, int pointer) { return new ECDHClientKeyExchangeParser(pointer, message, tlsContext.getChooser().getLastRecordVersion(), tlsContext.getConfig()); } ECDHClientKeyExchangeHandler(TlsContext tlsContext); @Override ECDHClientKeyExchangeParser getParser(byte[] message, int pointer); @Override ECDHClientKeyExchangePreparator getPreparator(ECDHClientKeyExchangeMessage message); @Override ECDHClientKeyExchangeSerializer getSerializer(ECDHClientKeyExchangeMessage message); @Override void adjustTLSContext(ECDHClientKeyExchangeMessage message);  }
@Test public void testGetParser() { assertTrue(handler.getParser(new byte[1], 0) instanceof ECDHClientKeyExchangeParser); }