@Test public void shouldDeleteSupportedPrograms() throws Exception { programSupportedRepository.deleteSupportedPrograms(1L, 2L); verify(programSupportedMapper).delete(1L, 2L); }
public void deleteSupportedPrograms(Long facilityId, Long programId) { mapper.delete(facilityId, programId); }
ProgramSupportedRepository { public void deleteSupportedPrograms(Long facilityId, Long programId) { mapper.delete(facilityId, programId); } }
ProgramSupportedRepository { public void deleteSupportedPrograms(Long facilityId, Long programId) { mapper.delete(facilityId, programId); }  }
ProgramSupportedRepository { public void deleteSupportedPrograms(Long facilityId, Long programId) { mapper.delete(facilityId, programId); }  Date getProgramStartDate(Long facilityId, Long programId); void deleteSupportedPrograms(Long facilityId, Long programId); void addSupportedProgram(ProgramSupported programSupported); boolean updateSupportedPrograms(Facility facility); List<ProgramSupported> getAllByFacilityId(Long facilityId); ProgramSupported getByFacilityIdAndProgramId(Long facilityId, Long programId); void updateSupportedProgram(ProgramSupported programSupported); List<ProgramSupported> getActiveByFacilityId(Long facilityId); void updateForVirtualFacilities(Facility parentFacility); }
ProgramSupportedRepository { public void deleteSupportedPrograms(Long facilityId, Long programId) { mapper.delete(facilityId, programId); }  Date getProgramStartDate(Long facilityId, Long programId); void deleteSupportedPrograms(Long facilityId, Long programId); void addSupportedProgram(ProgramSupported programSupported); boolean updateSupportedPrograms(Facility facility); List<ProgramSupported> getAllByFacilityId(Long facilityId); ProgramSupported getByFacilityIdAndProgramId(Long facilityId, Long programId); void updateSupportedProgram(ProgramSupported programSupported); List<ProgramSupported> getActiveByFacilityId(Long facilityId); void updateForVirtualFacilities(Facility parentFacility);  }