### Question:
Supervisor implements IOFogModule { public Supervisor() {} Supervisor(); void start(); @Override int getModuleIndex(); @Override String getModuleName();  }### Answer:
@Test public void supervisor() { try { supervisor = spy(new Supervisor()); suppress(method(Supervisor.class, "startModule")); suppress(method(Supervisor.class, "operationDuration")); supervisor.start(); verify(supervisor, Mockito.atLeastOnce()).start(); verify(supervisor, Mockito.never()).getModuleIndex(); verify(supervisor, Mockito.atLeastOnce()).getModuleName(); verify(supervisor, Mockito.atLeastOnce()).logDebug("Starting Supervisor"); verify(supervisor, Mockito.atLeastOnce()).logDebug("Started Supervisor"); } catch (Exception e) { e.printStackTrace(); } }