public void OfdbSearchTitleReferenceResolverTest_2() { var input = XPathHelper.EscapeJavaScript(searchResultString2); var expected = "161764"; var SUT = new OfdbSearchTitleReferenceResolver(); var actual = SUT.Resolve(input); Assert.Equal(expected, actual); }
public void OfdbSearchTitleReferenceResolverTest_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 = "257582"; var SUT = new OfdbSearchTitleReferenceResolver(); var actual = SUT.Resolve(input); Assert.Equal(expected, actual); }