XElement generateTestPlatformXelement(string platformNodeName, ITestPlatform platform)
{
return new XElement(platformNodeName,
new XAttribute("uniqueId", platform.UniqueId),
new XAttribute("id", platform.Id ?? string.Empty),
new XAttribute("name", platform.Name ?? string.Empty),
CreateXattribute("description", platform.Description ?? string.Empty) //,
// new XAttribute("created", platform.Created)
);
}