assert(sentMessage.payloadEquals(receivedMessage)); assert(sentMessage != receivedMessage);
    public void testSendLargeMessage() throws Exception    {	final ReceiverThread receiverThread = new ReceiverThread();	receiverThread.start();	// This causes a message size of about 38K. Should be limited	// by the buffer size in Receiver.	final SimpleMessage sentMessage = new SimpleMessage(8000);	m_sender.send(sentMessage);	receiverThread.join();	final SimpleMessage receivedMessage =	    (SimpleMessage)receiverThread.getMessage();	assertEquals(sentMessage, receivedMessage);    }