ApplicationRepositoryCleaner implements EmployeeGeneratorCleaner { public void deleteAll() { monthlyTaxForEmployeeRepository.deleteAll(); monthlyReportRepository.deleteAll(); employeeRepository.deleteAll(); }  void deleteAll();  }
@Test public void testDeleteAll() throws Exception { InOrder inOrder = inOrder(monthlyTaxForEmployeeRepositoryMock, monthlyReportRepositoryMock, employeeRepositoryMock); applicationRepositoryCleaner.deleteAll(); inOrder.verify(monthlyTaxForEmployeeRepositoryMock).deleteAll(); inOrder.verify(monthlyReportRepositoryMock).deleteAll(); inOrder.verify(employeeRepositoryMock).deleteAll(); }