예제 #1
0
        public void Attributes()
        {
            //Arrange
            var attributes = new List <Attribute>();

            //Act
            var subType = new AttributeSubtype
            {
                Attributes = attributes
            };

            //Assert
            Assert.AreSame(attributes, subType.Attributes);
        }
예제 #2
0
        public void Subtype()
        {
            //Arrange
            var type = new AttributeSubtype();

            //Act
            var attribute = new Attribute
            {
                Subtype = type
            };

            //Assert
            Assert.AreSame(type, attribute.Subtype);
        }