@Test public void shouldRemoveEquipmentProducts() throws Exception { service.removeAllByEquipmentProducts(5L); verify(repository).removeAllByEquipmentProducts(5L); }
public void removeAllByEquipmentProducts(Long programEquipmentId){ repository.removeAllByEquipmentProducts(programEquipmentId); }
ProgramEquipmentTypeProductService { public void removeAllByEquipmentProducts(Long programEquipmentId){ repository.removeAllByEquipmentProducts(programEquipmentId); } }
ProgramEquipmentTypeProductService { public void removeAllByEquipmentProducts(Long programEquipmentId){ repository.removeAllByEquipmentProducts(programEquipmentId); }  }
ProgramEquipmentTypeProductService { public void removeAllByEquipmentProducts(Long programEquipmentId){ repository.removeAllByEquipmentProducts(programEquipmentId); }  List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId); void Save(EquipmentTypeProduct equipmentTypeProduct); void remove(Long programEquipmentId); void removeAllByEquipmentProducts(Long programEquipmentId); List<Product> getAvailableProductsToLink(Long programId, Long equipmentId); }
ProgramEquipmentTypeProductService { public void removeAllByEquipmentProducts(Long programEquipmentId){ repository.removeAllByEquipmentProducts(programEquipmentId); }  List<EquipmentTypeProduct> getByProgramEquipmentId(Long programEquipmentId); void Save(EquipmentTypeProduct equipmentTypeProduct); void remove(Long programEquipmentId); void removeAllByEquipmentProducts(Long programEquipmentId); List<Product> getAvailableProductsToLink(Long programId, Long equipmentId);  }