コード例 #1
0
        public void should_create_category()
        {
            var categoryName = CreateCategory();
            var category     = queryTestBase.GetCategory(categoryName);

            Assert.IsNotNull(category);
        }
コード例 #2
0
        public void should_create_category()
        {
            var category = CreateCategory();

            SaveChanges();
            category = queryTestBase.GetCategory(GetCategoryName(category));
            Assert.IsNotNull(category);
        }