public void ReadProperty_String_Name_Value()
{
// This function tests the parsing function
// against a basic string like NAME:VALUE.
vCardStandardReader reader = new vCardStandardReader();
vCardProperty property = reader.ReadProperty(
TestName + ":" + TestValue);
Assert.AreEqual(
TestName,
property.Name);
Assert.AreEqual(
TestValue,
property.Value,
"The parsed value is incorrect.");
Assert.IsEmpty(
property.Subproperties,
"The Subproperties collection should be empty.");
}