public void testThriftClientAndServerModules()
throws Exception
{
final List<Object> eventHandlerContexts = newArrayList();
Injector injector = Guice.createInjector(Stage.PRODUCTION,
new ConfigurationModule(new ConfigurationFactory(ImmutableMap.<String, String>of())),
new ThriftCodecModule(),
new ThriftClientModule(),
new ThriftServerModule(),
new TestingJmxModule(),
new MBeanModule(),