@Test public void shouldRemoveEquipmentProducts() throws Exception { repository.removeAllByEquipmentProducts(66L); verify(mapper).removeByEquipmentProducts(66L); }
public void removeAllByEquipmentProducts(Long programEquipmentId){ mapper.removeByEquipmentProducts(programEquipmentId); }
EquipmentTypeProductRepository { public void removeAllByEquipmentProducts(Long programEquipmentId){ mapper.removeByEquipmentProducts(programEquipmentId); } }
EquipmentTypeProductRepository { public void removeAllByEquipmentProducts(Long programEquipmentId){ mapper.removeByEquipmentProducts(programEquipmentId); }  }
EquipmentTypeProductRepository { public void removeAllByEquipmentProducts(Long programEquipmentId){ mapper.removeByEquipmentProducts(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 void removeAllByEquipmentProducts(Long programEquipmentId){ mapper.removeByEquipmentProducts(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);  }