public void ExtendedPropertyAttribute_Constructor() { var id = Guid.NewGuid().ToString(); _extendedPropertyAttribute = new ExtendedPropertyAttribute(id); Assert.AreEqual(new Guid(id), _extendedPropertyAttribute.ExtendedPropertyId); }
public void BasicTests() { var attribute = new ExtendedPropertyAttribute("test", 5); Assert.AreEqual("test", attribute.Name); Assert.AreEqual(5, attribute.Value); }
public void ExtendedPropertyAttribute_Constructor() { var id = "FED2106B-5973-4099-8CA7-1098B94E8E10"; extendedPropertyAttribute = new ExtendedPropertyAttribute(id); Assert.AreEqual(new Guid(id), extendedPropertyAttribute.ExtendedPropertyId); }
public void ExtendedPropertyAttribute_ConstructorWithInvalidGuid() { _extendedPropertyAttribute = new ExtendedPropertyAttribute("76374535-53535-3543"); }
public void ExtendedPropertyAttribute_ConstructorWithNull() { _extendedPropertyAttribute = new ExtendedPropertyAttribute(null); }
public void ExtendedPropertyAttribute_ConstructorWithInvalidGuid() { var id = "FED2106B-5973-4099-8CA7-1098B9"; extendedPropertyAttribute = new ExtendedPropertyAttribute(id); }