public void testBasic() throws Exception {
		log.fine("B*******************************************");
		clientEngine.beginHandshake();
		ByteBuffer b = clientList.getPacketEncrypted();
		
		serverEngine.feedEncryptedPacket(b, null);
		Runnable r = serverList.getRunnable();

		r.run();
		b = serverList.getPacketEncrypted();

		clientEngine.feedEncryptedPacket(b, null);
		r = clientList.getRunnable();

		r.run();
		ByteBuffer b0 = clientList.getPacketEncrypted();

		serverEngine.feedEncryptedPacket(b0, null);
		ByteBuffer b1 = clientList.getPacketEncrypted();
		r = serverList.getRunnable();

		r.run();
				
		serverEngine.feedEncryptedPacket(b1, null);
		ByteBuffer b2 = clientList.getPacketEncrypted();

		serverEngine.feedEncryptedPacket(b2, null);		
		Assert.assertTrue(serverList.isEncryptedLinkEstablished());
		
		b0 = serverList.getPacketEncrypted();
		clientEngine.feedEncryptedPacket(b0, null);
		b1 = serverList.getPacketEncrypted();
		clientEngine.feedEncryptedPacket(b1, null);

		Assert.assertTrue(clientList.isEncryptedLinkEstablished());

		feedData(clientEngine, clientList, serverEngine, serverList);
		feedData(serverEngine, serverList, clientEngine, clientList);
	}