System.out.println("Created network channel: " + networkChannel);
SecurityAdapter securityAdapter = broker.getSecurityAdapter();
assertTrue("Should have created a security adapter", securityAdapter != null);
RedeliveryPolicy redeliveryPolicy = broker.getRedeliveryPolicy();
assertTrue("Should have created a redeliveryPolicy", redeliveryPolicy != null);
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());