public GetByName ( string name ) : |
||
name | string | Category name |
return |
public void WhitespaceStringCategoryGetByNameException() { CategoryRepository testCategoryRepository = new CategoryRepository(); testCategoryRepository.GetByName(" "); }
public void NullStringCategoryGetByNameException() { CategoryRepository testCategoryRepository = new CategoryRepository(); testCategoryRepository.GetByName(null); }