MpiDataSaver { public Patients loadMpi() { return loadMpi(defaultMpiFilename); } MpiDataSaver(); void saveMpi(Patients patientList); void saveMpi(Patients patientList, String file); Patients loadMpi(); Patients loadMpi(String file);  }
@Test public void testLoadMpi_NonExistingFile() { deleteMockMpiFile(); MpiDataSaver mpiDataSaver = createMpiDataSaver(); Patients patientList = mpiDataSaver.loadMpi(mockMpiName); assertEquals(0, patientList.size()); }