@Test public void shouldGetById() throws Exception{ factorService.loadOrderQuantityAdjustmentFactorDetail(1l); verify(factorRepository).loadOrderQuantityAdjustmentFactorDetail(1l); }
public OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id) { return this.quantityAdjustmentFactorRepository.loadOrderQuantityAdjustmentFactorDetail(id); }
OrderQuantityAdjustmentFactorService { public OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id) { return this.quantityAdjustmentFactorRepository.loadOrderQuantityAdjustmentFactorDetail(id); } }
OrderQuantityAdjustmentFactorService { public OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id) { return this.quantityAdjustmentFactorRepository.loadOrderQuantityAdjustmentFactorDetail(id); }  }
OrderQuantityAdjustmentFactorService { public OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id) { return this.quantityAdjustmentFactorRepository.loadOrderQuantityAdjustmentFactorDetail(id); }  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 OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id) { return this.quantityAdjustmentFactorRepository.loadOrderQuantityAdjustmentFactorDetail(id); }  void addOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); void updateOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); void deleteOrderQuantityAdjustmentFactor(OrderQuantityAdjustmentFactor orderQuantityAdjustmentFactor); List<OrderQuantityAdjustmentFactor> loadOrderQuantityAdjustmentFactor(); OrderQuantityAdjustmentFactor loadOrderQuantityAdjustmentFactorDetail(long id); List<OrderQuantityAdjustmentFactor> searchAdjustmentFactor(String param);  }