@Test public void shouldDelete() throws Exception{ OrderQuantityAdjustmentFactor adjustmentFactor = new OrderQuantityAdjustmentFactor(); factorService.deleteOrderQuantityAdjustmentFactor(adjustmentFactor); verify(factorRepository).deleteOrderQuantityAdjustmentFactor(adjustmentFactor); }
public void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor) { this.quantityAdjustmentFactorRepository.deleteOrderQuantityAdjustmentFactor(orderQuantityAdjustmentFactor); }
OrderQuantityAdjustmentFactorService { public void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor) { this.quantityAdjustmentFactorRepository.deleteOrderQuantityAdjustmentFactor(orderQuantityAdjustmentFactor); } }
OrderQuantityAdjustmentFactorService { public void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor) { this.quantityAdjustmentFactorRepository.deleteOrderQuantityAdjustmentFactor(orderQuantityAdjustmentFactor); }  }
OrderQuantityAdjustmentFactorService { public void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor) { this.quantityAdjustmentFactorRepository.deleteOrderQuantityAdjustmentFactor(orderQuantityAdjustmentFactor); }  void addOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); List<OrderQuantityAdjustmentFactor> loadOrderQuantityAdjustmentFactor(); OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id); List<OrderQuantityAdjustmentFactor> searchAdjustmentFactor(String param); }
OrderQuantityAdjustmentFactorService { public void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor) { this.quantityAdjustmentFactorRepository.deleteOrderQuantityAdjustmentFactor(orderQuantityAdjustmentFactor); }  void addOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); List<OrderQuantityAdjustmentFactor> loadOrderQuantityAdjustmentFactor(); OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id); List<OrderQuantityAdjustmentFactor> searchAdjustmentFactor(String param);  }