public void testBinding()
throws Exception
{
Injector injector = Guice.createInjector(
new ConfigurationModule(new ConfigurationFactory(ImmutableMap.of("discovery.uri", "fake://server"))),
new JsonModule(),
new TestingNodeModule(),
discoveryModule);
// should produce a discovery announcement client and a lookup client
assertNotNull(injector.getInstance(DiscoveryAnnouncementClient.class));