BaseModule extends ConfigModule implements BQModuleProvider { @Override public BQModule module() { return this; } protected  BaseModule(); protected  BaseModule(String configPrefix); @Override BQModule module();  }
@Test public void testModule() { BaseModule m = new BaseModule() {}; assertSame(m, m.module()); }