### Question:
ResourceConsumptionManager implements IOFogModule { @Override public int getModuleIndex() { return RESOURCE_CONSUMPTION_MANAGER; } private  ResourceConsumptionManager(); @Override int getModuleIndex(); @Override String getModuleName(); static ResourceConsumptionManager getInstance(); void instanceConfigUpdated(); void start();  }### Answer:
@Test public void testGetModuleIndex() { assertEquals(Constants.RESOURCE_CONSUMPTION_MANAGER, resourceConsumptionManager.getModuleIndex()); }