A class that actually perform the CRUD operations of a Product.
Наследование: IProductRepository
 public void WhitespaceStringProductGetByUPCException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.GetByUPC("   ");
 }
 public void NullStringProductGetByUPCException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.GetByUPC(null);
 }
 public void NullDTOProductInsertException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.Insert(null);
 }
 public void NullDTOProductUpdateException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.Update(null);
 }
 public void EmptyStringProductGetByBrandException()
 {
     ProductRepository testProductRepository = new ProductRepository();
     testProductRepository.GetByBrand("");
 }