Пример #1
0
        public void Text()
        {
            //Arrange
            const string text = "Awesome text";

            //Act
            var categoryListItem = new CategoryListItemDto()
            {
                Text = text
            };

            //Assert
            Assert.AreEqual(text, categoryListItem.Text);
        }
Пример #2
0
        public void Value()
        {
            //Arrange
            const int value = 1976;

            //Act
            var categoryListItem = new CategoryListItemDto()
            {
                Value = value
            };

            //Assert
            Assert.AreEqual(value, categoryListItem.Value);
        }