public void testThriftClientAndServerModules()
throws Exception
{
Injector injector = Guice.createInjector(Stage.PRODUCTION,
new ConfigurationModule(new ConfigurationFactory(ImmutableMap.<String, String>of())),
new ThriftCodecModule(),
new ThriftClientModule(),
new ThriftServerModule(),
new JmxModule(),
new MBeanModule(),
new Module()