Example #1
0
        public void Creating_a_category_assigns_an_id()
        {
            var category = new Category {
                Name = "test"
            };

            _sut.Save(category);
            Assert.NotEqual(category.Id, Guid.Empty);
        }