Exemplo n.º 1
0
        public void TestCorrectMovieTitleIsFetched()
        {
            string matchedName;

            string[] possibles;
            MovieDbProvider.AttemptFindId("City Of Men", "", out matchedName, out possibles);

            Assert.AreEqual("City Of Men".ToLower(), matchedName.ToLower());
        }
Exemplo n.º 2
0
        public void TestThatTheYearIsRespected()
        {
            string matchedName;

            string[] possibles;
            var      id = MovieDbProvider.AttemptFindId("Star Wars", "1922", out matchedName, out possibles);

            Assert.AreEqual(id, null);
        }