// ufXtract {"test-fixture": [{"summary": ["hCard 1 - single occurrence test" ], "description": ["This page was design to test that values of a hcard which are meant to have only a single occurrence are parsed correctly. The IsEqualToISODate method uses date normalisation and compare methods." ], "format": "hCard", "assert": [{"test": "vcard[0].fn", "result": "IsEqualTo(\"John Doe\")", "comment": "The fn (formatted name) is a singular value" }, {"test": "vcard[0].n", "result": "HasProperty(true)", "comment": "The n (name) is a singular value" }, {"test": "vcard[0].bday", "result": "IsEqualToISODate(\"2000-01-01T00:00:00-0800\")", "comment": "The bday (birthday) is a singular value" }, {"test": "vcard[0].class", "result": "IsEqualTo(\"Public\")", "comment": "The class is a singular value" }, {"test": "vcard[0].geo", "result": "HasProperty(true)", "comment": "The geo is a singular value" }, {"test": "vcard[0].rev", "result": "IsEqualToISODate(\"2008-01-01T13:45:00\")", "comment": "The rev is a singular value" }, {"test": "vcard[0].role", "result": "IsEqualTo(\"Designer\")", "comment": "The role is a singular value" }, {"test": "vcard[0].sort-string", "result": "IsEqualTo(\"John\")", "comment": "The sort-string is a singular value" }, {"test": "vcard[0].tz", "result": "IsEqualTo(\"-05:00\")", "comment": "The tz is a singular value" }, {"test": "vcard[0].uid", "result": "IsEqualTo(\"com.johndoe\/profiles\/johndoe\")", "comment": "The uid is a singular value" }]}]}