@Test public void shouldGetByProgramId() throws Exception { service.getByProgramId(4L); verify(repository).getByProgramId(4L); }
public List<ProgramEquipmentType> getByProgramId(Long programId) { return programEquipmentTypeRepository.getByProgramId(programId); }
ProgramEquipmentTypeService { public List<ProgramEquipmentType> getByProgramId(Long programId) { return programEquipmentTypeRepository.getByProgramId(programId); } }
ProgramEquipmentTypeService { public List<ProgramEquipmentType> getByProgramId(Long programId) { return programEquipmentTypeRepository.getByProgramId(programId); }  }
ProgramEquipmentTypeService { public List<ProgramEquipmentType> getByProgramId(Long programId) { return programEquipmentTypeRepository.getByProgramId(programId); }  List<ProgramEquipmentType> getByProgramId(Long programId); void Save(ProgramEquipmentType programEquipmentType); void remove(Long programEquipmentId); }
ProgramEquipmentTypeService { public List<ProgramEquipmentType> getByProgramId(Long programId) { return programEquipmentTypeRepository.getByProgramId(programId); }  List<ProgramEquipmentType> getByProgramId(Long programId); void Save(ProgramEquipmentType programEquipmentType); void remove(Long programEquipmentId);  }