public void OfdbSearchTitleTitleResolverTest_2() { var input = XPathHelper.EscapeJavaScript(searchResultString2); var expected = "Fast & Furious - Neues Modell. Originalteile."; var SUT = new OfdbSearchTitleTitleResolver(); var actual = SUT.Resolve(searchResultString2); Assert.Equal(expected, actual); }
public void OfdbSearchTitleTitleResolverTest_1() { //var input = "<a href=\"film/257582,Der-Kreis\" onmouseover=\"Tip('<img src=&quot;images/film/na.gif&quot; width=&quot;120&quot; height=&quot;168&quot;>',SHADOW,true)\">Kreis, Der<font size=\"1\"> / Kreis, Der</font> (1964)</a>"; var input = XPathHelper.EscapeJavaScript(searchResultString); var expected = "Kreis, Der"; var SUT = new OfdbSearchTitleTitleResolver(); var actual = SUT.Resolve(input); Assert.Equal(expected, actual); }