public IResults Parse(string htmlResults)
{
_results = new Results {
Html = htmlResults,
DetailList = new List<IResultDetail>()
};
var doc = _htmlDocumentFactory.Create(_results.Html);
var tables = doc.GetElementsByTagName("TABLE");
foreach (var table in tables) {
ParseTable(table);
return _results;
}
throw new FormatException("Unable to parse test results.");
}