public void LookupURLOfUpdate_TooManyCommas_LogsErrorGivesNoURL()
{
var t = new UpdateVersionTable();
t.TextContentsOfTable = @"0.0.0,3,1,99999, http://first.com/first"; // too many commas
t.RunningVersion = Version.Parse("3.2.0");
var lookupResult = t.LookupURLOfUpdate();
Assert.That(lookupResult.URL, Is.Null.Or.Empty);
Assert.IsTrue(lookupResult.Error.Message.StartsWith("Could not parse a line of the UpdateVersionTable"));
}