@Test public void shouldGetByProgramId() throws Exception { repository.getByProgramId(1L); verify(mapper).getByProgramId(1L); }
public List<ProgramEquipmentType> getByProgramId(Long programId){ return equipmentTypeProgramMapper.getByProgramId(programId); }
ProgramEquipmentTypeRepository { public List<ProgramEquipmentType> getByProgramId(Long programId){ return equipmentTypeProgramMapper.getByProgramId(programId); } }
ProgramEquipmentTypeRepository { public List<ProgramEquipmentType> getByProgramId(Long programId){ return equipmentTypeProgramMapper.getByProgramId(programId); }  }
ProgramEquipmentTypeRepository { public List<ProgramEquipmentType> getByProgramId(Long programId){ return equipmentTypeProgramMapper.getByProgramId(programId); }  List<ProgramEquipmentType> getByProgramId(Long programId); void insert(ProgramEquipmentType programEquipmentType); void update(ProgramEquipmentType programEquipmentType); void remove(Long programEquipmentId); }
ProgramEquipmentTypeRepository { public List<ProgramEquipmentType> getByProgramId(Long programId){ return equipmentTypeProgramMapper.getByProgramId(programId); }  List<ProgramEquipmentType> getByProgramId(Long programId); void insert(ProgramEquipmentType programEquipmentType); void update(ProgramEquipmentType programEquipmentType); void remove(Long programEquipmentId);  }