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());
assertEquals("getUri", new URI("multicast://228.8.9.10:2677"), multicastAgent.getUri());
}