public void TestCorrectMovieTitleIsFetched() { string matchedName; string[] possibles; MovieDbProvider.AttemptFindId("City Of Men", "", out matchedName, out possibles); Assert.AreEqual("City Of Men".ToLower(), matchedName.ToLower()); }
public void TestThatTheYearIsRespected() { string matchedName; string[] possibles; var id = MovieDbProvider.AttemptFindId("Star Wars", "1922", out matchedName, out possibles); Assert.AreEqual(id, null); }