assertEquals("isBackOffMode", true, redeliveryPolicy.isBackOffMode());
assertEquals("getMaximumRetryCount", 10, redeliveryPolicy.getMaximumRetryCount());
DiscoveryAgent discoveryAgent = container.getDiscoveryAgent();
assertTrue("Have a discovery agent: " + discoveryAgent, discoveryAgent instanceof MulticastDiscoveryAgent);
MulticastDiscoveryAgent multicastAgent = (MulticastDiscoveryAgent) discoveryAgent;
assertEquals("getKeepAliveTimeout", 1000, multicastAgent.getKeepAliveTimeout());
assertEquals("getChannelName", "cheese", multicastAgent.getChannelName());
}