@Test
public void testReceiveTimeoutActionParser() {
assertActionCount(3);
assertActionClassAndName(ReceiveTimeoutAction.class, "expect-timeout:myMessageEndpoint");
ReceiveTimeoutAction action = getNextTestActionFromTest();
Assert.assertEquals(action.getTimeout(), 1000L);
Assert.assertEquals(action.getEndpoint(), beanDefinitionContext.getBean("myMessageEndpoint", Endpoint.class));
Assert.assertNull(action.getEndpointUri());
Assert.assertNull(action.getMessageSelector());
action = getNextTestActionFromTest();
Assert.assertNull(action.getEndpoint());
Assert.assertEquals(action.getEndpointUri(), "channel:myMessageEndpoint");
action = getNextTestActionFromTest();
Assert.assertEquals(action.getTimeout(), 10000L);
Assert.assertEquals(action.getEndpoint(), beanDefinitionContext.getBean("myMessageEndpoint", Endpoint.class));
Assert.assertNull(action.getEndpointUri());
Assert.assertEquals(action.getMessageSelector(), "operation='Test'");
}