@Test public void shouldGetByProgramEquipmentId() throws Exception { repository.getByProgramEquipmentId(1L); verify(mapper).getByProgramEquipmentId(1L); }
public List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId){ return mapper.getByProgramEquipmentId(programEquipmentId); }
EquipmentTypeProductRepository { public List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId){ return mapper.getByProgramEquipmentId(programEquipmentId); } }
EquipmentTypeProductRepository { public List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId){ return mapper.getByProgramEquipmentId(programEquipmentId); }  }
EquipmentTypeProductRepository { public List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId){ return mapper.getByProgramEquipmentId(programEquipmentId); }  List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId); void insert(EquipmentTypeProduct equipmentTypeProduct); void update(EquipmentTypeProduct equipmentTypeProduct); void remove(Long programEquipmentId); void removeAllByEquipmentProducts(Long programEquipmentId); List<Product> getAvailableProductsToLink(Long programId, Long equipmentId); }
EquipmentTypeProductRepository { public List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId){ return mapper.getByProgramEquipmentId(programEquipmentId); }  List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId); void insert(EquipmentTypeProduct equipmentTypeProduct); void update(EquipmentTypeProduct equipmentTypeProduct); void remove(Long programEquipmentId); void removeAllByEquipmentProducts(Long programEquipmentId); List<Product> getAvailableProductsToLink(Long programId, Long equipmentId);  }