public void ReadWriteProperty_Value() { vCardSubproperty sub = new vCardSubproperty("NAME"); sub.Value = "SUBVALUE"; Assert.AreEqual( "SUBVALUE", sub.Value, "The Value property is not working."); }
public void ReadWriteProperty_Name() { vCardSubproperty sub = new vCardSubproperty("NAME"); sub.Name = "SUBNAME"; Assert.AreEqual( "SUBNAME", sub.Name, "The Name property is not working."); }
public void Constructor_Name() { vCardSubproperty sub = new vCardSubproperty("NAME"); Assert.AreEqual( "NAME", sub.Name, "The Name property was not initialized."); Assert.IsNull( sub.Value, "The value should be null."); }
public void Constructor_Name_Value() { vCardSubproperty sub = new vCardSubproperty("NAME", "VALUE"); Assert.AreEqual( "NAME", sub.Name, "The Name property was not initialized."); Assert.AreEqual( "VALUE", sub.Value, "The Value property was not initialized."); }