@Test public void shouldInsert() throws Exception { ProductPriceSchedule pps = new ProductPriceSchedule(); repository.insert(pps); verify(mapper).insert(pps); }
public void insert(ProductPriceSchedule productPriceSchedule) { mapper.insert(productPriceSchedule); }
ProductPriceScheduleRepository { public void insert(ProductPriceSchedule productPriceSchedule) { mapper.insert(productPriceSchedule); } }
ProductPriceScheduleRepository { public void insert(ProductPriceSchedule productPriceSchedule) { mapper.insert(productPriceSchedule); }  }
ProductPriceScheduleRepository { public void insert(ProductPriceSchedule productPriceSchedule) { mapper.insert(productPriceSchedule); }  void insert(ProductPriceSchedule productPriceSchedule); void update(ProductPriceSchedule productPriceSchedule); ProductPriceSchedule getByProductCodeAndPriceSchedule(ProductPriceSchedule productPriceSchedule); List<ProductPriceSchedule> getByProductId(Long id); List<ProductPriceSchedule> getPriceScheduleFullSupplyFacilityApprovedProduct(Long programId, Long facilityId); }
ProductPriceScheduleRepository { public void insert(ProductPriceSchedule productPriceSchedule) { mapper.insert(productPriceSchedule); }  void insert(ProductPriceSchedule productPriceSchedule); void update(ProductPriceSchedule productPriceSchedule); ProductPriceSchedule getByProductCodeAndPriceSchedule(ProductPriceSchedule productPriceSchedule); List<ProductPriceSchedule> getByProductId(Long id); List<ProductPriceSchedule> getPriceScheduleFullSupplyFacilityApprovedProduct(Long programId, Long facilityId);  }