예제 #1
0
        public void ResourceItemAttribute_Constructor_Null()
        {
            var attribute = new ResourceItemAttribute();

            Assert.IsNull(attribute.Name);
            Assert.IsNull(attribute.Content);
        }
예제 #2
0
        public void ResourceItemAttribute_Constructor_HasContent()
        {
            var content   = "Content" + Guid.NewGuid().ToString("N");
            var attribute = new ResourceItemAttribute(content);

            Assert.IsNull(attribute.Name);
            Assert.AreEqual(content, attribute.Content);
        }