### Question:
FieldAgent implements IOFogModule { @Override public int getModuleIndex() { return FIELD_AGENT; } private  FieldAgent(); @Override int getModuleIndex(); @Override String getModuleName(); static FieldAgent getInstance(); final void postTracking(JsonObject events); JsonObject provision(String key); String deProvision(boolean isTokenExpired); void instanceConfigUpdated(); void start(); void sendUSBInfoFromHalToController(); void sendHWInfoFromHalToController(); String getCheckUpgradeReadyReport(); void changeReadInterval();  }### Answer:
@Test public void testGetModuleIndex() { assertEquals(5, fieldAgent.getModuleIndex()); }