MeterReceiverModule extends ModuleDefine { @Override public Class[] services() { return new Class[0]; } MeterReceiverModule(); @Override Class[] services(); static final String NAME; }
@Test public void testBuild() { final MeterReceiverModule module = new MeterReceiverModule(); Assert.assertEquals(0, module.services().length); Assert.assertEquals(MeterReceiverModule.NAME, module.name()); }