A class that actually performs the CRUD operations for a Category.
Inheritance: ICategoryRepository
 public void WhitespaceStringCategoryGetByNameException()
 {
     CategoryRepository testCategoryRepository = new CategoryRepository();
     testCategoryRepository.GetByName("   ");
 }
 public void NullDTOCategoryUpdateException()
 {
     CategoryRepository testCategoryRepository = new CategoryRepository();
     testCategoryRepository.Update(null);
 }
 public void NullStringCategoryGetByNameException()
 {
     CategoryRepository testCategoryRepository = new CategoryRepository();
     testCategoryRepository.GetByName(null);
 }
 public void NullDTOCategoryInsertException()
 {
     CategoryRepository testCategoryRepository = new CategoryRepository();
     testCategoryRepository.Insert(null);
 }