@Test public void shouldGetAvailableProductsToLink() throws Exception { repository.getAvailableProductsToLink(3L, 5L); verify(mapper).getAvailableProductsToLink(3L, 5L); }
public List<Product> getAvailableProductsToLink(Long programId, Long equipmentId) { return mapper.getAvailableProductsToLink(programId, equipmentId); }
EquipmentTypeProductRepository { public List<Product> getAvailableProductsToLink(Long programId, Long equipmentId) { return mapper.getAvailableProductsToLink(programId, equipmentId); } }
EquipmentTypeProductRepository { public List<Product> getAvailableProductsToLink(Long programId, Long equipmentId) { return mapper.getAvailableProductsToLink(programId, equipmentId); }  }
EquipmentTypeProductRepository { public List<Product> getAvailableProductsToLink(Long programId, Long equipmentId) { return mapper.getAvailableProductsToLink(programId, equipmentId); }  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<Product> getAvailableProductsToLink(Long programId, Long equipmentId) { return mapper.getAvailableProductsToLink(programId, equipmentId); }  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);  }