@Test public void shouldUpdate() throws Exception { EquipmentTypeProduct product = new EquipmentTypeProduct(); repository.update(product); verify(mapper).update(product); }
public void update(EquipmentTypeProduct equipmentTypeProduct){ mapper.update(equipmentTypeProduct); }
EquipmentTypeProductRepository { public void update(EquipmentTypeProduct equipmentTypeProduct){ mapper.update(equipmentTypeProduct); } }
EquipmentTypeProductRepository { public void update(EquipmentTypeProduct equipmentTypeProduct){ mapper.update(equipmentTypeProduct); }  }
EquipmentTypeProductRepository { public void update(EquipmentTypeProduct equipmentTypeProduct){ mapper.update(equipmentTypeProduct); }  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 update(EquipmentTypeProduct equipmentTypeProduct){ mapper.update(equipmentTypeProduct); }  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);  }