@Test public void testSendKey() throws Exception { byte[] key = getRandomBytes(123); setup(); AtomicReference<Record> written = expectWriteRecord(); kat.sendKey(key); assertNotNull(written.get()); assertRecordEquals(PROTOCOL_VERSION, KEY, key, written.get()); }
void sendKey(byte[] key) throws IOException { writeRecord(KEY, key); }
KeyAgreementTransport { void sendKey(byte[] key) throws IOException { writeRecord(KEY, key); } }
KeyAgreementTransport { void sendKey(byte[] key) throws IOException { writeRecord(KEY, key); } KeyAgreementTransport(RecordReaderFactory recordReaderFactory,
			RecordWriterFactory recordWriterFactory, KeyAgreementConnection kac); }
KeyAgreementTransport { void sendKey(byte[] key) throws IOException { writeRecord(KEY, key); } KeyAgreementTransport(RecordReaderFactory recordReaderFactory,
			RecordWriterFactory recordWriterFactory, KeyAgreementConnection kac); DuplexTransportConnection getConnection(); TransportId getTransportId(); }
KeyAgreementTransport { void sendKey(byte[] key) throws IOException { writeRecord(KEY, key); } KeyAgreementTransport(RecordReaderFactory recordReaderFactory,
			RecordWriterFactory recordWriterFactory, KeyAgreementConnection kac); DuplexTransportConnection getConnection(); TransportId getTransportId();  }