public void LookupURLOfUpdate_NoLineForDesiredVersion_ReportsError()
{
var t = new UpdateVersionTable();
t.TextContentsOfTable = @"0.0.0,3.1.99999, http://first.com/first";
t.RunningVersion = Version.Parse("3.2.0");
var lookupResult = t.LookupURLOfUpdate();
Assert.That(lookupResult.URL, Is.Null.Or.Empty);
Assert.That(lookupResult.Error.Message, Is.EqualTo("http://bloomlibrary.org/channels/UpgradeTableTestChannel.txt contains no record for this version of Bloom"));
}