### Question:
ProcessManager implements IOFogModule { public void update() { updateRegistriesStatus(); } private  ProcessManager(); @Override int getModuleIndex(); @Override String getModuleName(); static ProcessManager getInstance(); void update(); void deleteRemainingMicroservices(); void stopRunningMicroservices(boolean withCleanUp, String iofogUuid); void instanceConfigUpdated(); void start();  }### Answer:
@Test public void testUpdate() { try { processManager.update(); PowerMockito.verifyPrivate(processManager).invoke("updateRegistriesStatus"); PowerMockito.verifyStatic(StatusReporter.class, Mockito.atLeastOnce()); StatusReporter.getProcessManagerStatus(); } catch (Exception e) { fail("This should not happen"); } }