public void CtorPropertyNames() { var e = new ETagAttribute (new[] { "foo", "bar" }); Assert.AreEqual (2, e.PropertyNames.Count); Assert.AreEqual ("foo", e.PropertyNames[0]); Assert.AreEqual ("bar", e.PropertyNames[1]); }
public void CtorPropertyName() { var e = new ETagAttribute("tag"); Assert.AreEqual(1, e.PropertyNames.Count); Assert.AreEqual("tag", e.PropertyNames.First()); }
public void CtorPropertyNames() { var e = new ETagAttribute(new[] { "foo", "bar" }); Assert.AreEqual(2, e.PropertyNames.Count); Assert.AreEqual("foo", e.PropertyNames[0]); Assert.AreEqual("bar", e.PropertyNames[1]); }
public void CtorPropertyName() { var e = new ETagAttribute ("tag"); Assert.AreEqual (1, e.PropertyNames.Count); Assert.AreEqual ("tag", e.PropertyNames.First()); }