@Test(enabled = ENABLE_TESTS)
public void testSendMessage() throws Exception {
AgentMain agent1 = m_agent1Test.createAgent(true);
AgentMain agent2 = m_agent2Test.createAgent(true);
IdentifyCommand command = new IdentifyCommand();
IdentifyCommandResponse response;
response = (IdentifyCommandResponse) agent1.getClientCommandSender().sendSynch(command);
assert response.isSuccessful() : "Failed to send command from agent1 to agent2";
assert new InvokerLocator(response.getIdentification().getInvokerLocator()).getPort() == agent2