@Test public void shouldUpdate() throws Exception { OrderQuantityAdjustmentFactor adjustmentFactor = new OrderQuantityAdjustmentFactor(); adjustmentFactor.setName("Test Adjustment inserted"); adjustmentFactor.setDisplayOrder(2); adjustmentFactor.setDescription("Test Adjustment inserted Description"); adjustmentFactor.setCreatedDate(new Date()); factorRepository.updateOrderQuantityAdjustmentFactor(adjustmentFactor); verify(factorMapper).update(adjustmentFactor); }
public void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor) { this.quantityAdjustmentFactorMapper.update(quantityAdjustmentFactor); }
OrderQuantityAdjustmentFactorRepository { public void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor) { this.quantityAdjustmentFactorMapper.update(quantityAdjustmentFactor); } }
OrderQuantityAdjustmentFactorRepository { public void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor) { this.quantityAdjustmentFactorMapper.update(quantityAdjustmentFactor); }  }
OrderQuantityAdjustmentFactorRepository { public void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor) { this.quantityAdjustmentFactorMapper.update(quantityAdjustmentFactor); }  void addOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor); void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor); void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor); List<OrderQuantityAdjustmentFactor> loadOrderQuantityAdjustmentFactorList(); OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id); List<OrderQuantityAdjustmentFactor> searchAdjustmentFactor(String param); }
OrderQuantityAdjustmentFactorRepository { public void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor) { this.quantityAdjustmentFactorMapper.update(quantityAdjustmentFactor); }  void addOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor); void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor); void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor quantityAdjustmentFactor); List<OrderQuantityAdjustmentFactor> loadOrderQuantityAdjustmentFactorList(); OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id); List<OrderQuantityAdjustmentFactor> searchAdjustmentFactor(String param);  }