Exemple #1
0
        public void Ctor_SharingBoundaryName(string sharingBoundaryName)
        {
            var attribute = new SharedAttribute(sharingBoundaryName);

            Assert.Equal(sharingBoundaryName, attribute.SharingBoundary);
            Assert.Equal("SharingBoundary", attribute.Name);
            Assert.Equal(sharingBoundaryName, attribute.Value);
        }
Exemple #2
0
        public void Ctor_Default()
        {
            var attribute = new SharedAttribute();

            Assert.Null(attribute.SharingBoundary);
            Assert.Equal("SharingBoundary", attribute.Name);
            Assert.Null(attribute.Value);
        }