public void Method_Returns_G4M_German_Price() { IGermanSite site = G4factory.CreateGermanSite(); var url = site.ScrapeUrl("888"); decimal result; bool valid = decimal.TryParse(site.ScrapeGermanInfo("http://www.gear4music.de/en" + url), out result); Assert.IsTrue(valid); }
public void Method_Returns_German_Price() { IGermanSite tmanDe = TmanFactory.CreateGermanSite(); model.Url = tmanDe.ScrapeUrl("246474"); decimal result; bool valid = decimal.TryParse(tmanDe.ScrapeGermanInfo(model.Url), out result); Assert.IsTrue(valid); }