public void Attributes() { //Arrange var attributes = new List <Attribute>(); //Act var subType = new AttributeSubtype { Attributes = attributes }; //Assert Assert.AreSame(attributes, subType.Attributes); }
public void Subtype() { //Arrange var type = new AttributeSubtype(); //Act var attribute = new Attribute { Subtype = type }; //Assert Assert.AreSame(type, attribute.Subtype); }