assert(sentMessage.payloadEquals(receivedMessage)); assert(sentMessage != receivedMessage);
    public void testSendManyMessages() throws Exception    {	for (int i=0; i<100; i++)	{	    final ReceiverThread receiverThread = new ReceiverThread();	    receiverThread.start();	    final SimpleMessage sentMessage = new SimpleMessage(0);	    m_sender.send(sentMessage);	    receiverThread.join();	    final SimpleMessage receivedMessage =		(SimpleMessage)receiverThread.getMessage();	    assertEquals(sentMessage, receivedMessage);	}    }