@Test
public void testSimpleRouting() throws Exception {
SimplePropertyMessageActionRouter router=new SimplePropertyMessageActionRouter( registryMock );
PropertiesMessageImpl msg=new PropertiesMessageImpl();
msg.addHeaderAttribute(MessageHeader.ENDPOINT.name(), TESTSERVICE+":call");
router.route(msg);
assertTrue(registryCalled);
assertTrue(serviceCalled);
}