Пример #1
0
 public void NotExistSubCategoryWithName()
 {
     DalBase.CreateDb();
     CategoriesDal.AddCategory(subCategory);
     Assert.IsFalse(CategoriesDal.CategoryExistInBaseByName(subCategory.Name + "NotExist"));
 }
Пример #2
0
 public void ExistSubCategoryWithName()
 {
     DalBase.CreateDb();
     CategoriesDal.AddCategory(subCategory);
     Assert.IsTrue(CategoriesDal.CategoryExistInBaseByName(subCategory.Name));
 }