@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(); }
public void deleteAll() { monthlyTaxForEmployeeRepository.deleteAll(); monthlyReportRepository.deleteAll(); employeeRepository.deleteAll(); }
ApplicationRepositoryCleaner implements EmployeeGeneratorCleaner { public void deleteAll() { monthlyTaxForEmployeeRepository.deleteAll(); monthlyReportRepository.deleteAll(); employeeRepository.deleteAll(); } }
ApplicationRepositoryCleaner implements EmployeeGeneratorCleaner { public void deleteAll() { monthlyTaxForEmployeeRepository.deleteAll(); monthlyReportRepository.deleteAll(); employeeRepository.deleteAll(); }  }
ApplicationRepositoryCleaner implements EmployeeGeneratorCleaner { public void deleteAll() { monthlyTaxForEmployeeRepository.deleteAll(); monthlyReportRepository.deleteAll(); employeeRepository.deleteAll(); }  void deleteAll(); }
ApplicationRepositoryCleaner implements EmployeeGeneratorCleaner { public void deleteAll() { monthlyTaxForEmployeeRepository.deleteAll(); monthlyReportRepository.deleteAll(); employeeRepository.deleteAll(); }  void deleteAll();  }