### Question:
RouterMain extends DaemonMain { static Injector createGuiceInjector(CConfiguration cConf) { return Guice.createInjector( new ConfigModule(cConf), new ZKClientModule(), new ZKDiscoveryModule(), new RouterModules().getDistributedModules(), new SecurityModules().getDistributedModules(), new IOModule() ); }  static void main(String[] args); @Override void init(String[] args); @Override void start(); @Override void stop(); @Override void destroy();  }### Answer:
@Test public void testGuiceInjection() { CConfiguration cConf = CConfiguration.create(); Injector injector = RouterMain.createGuiceInjector(cConf); Assert.assertNotNull(injector); NettyRouter router = injector.getInstance(NettyRouter.class); Assert.assertNotNull(router); }