Пример #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());
        }
Пример #2
0
        public void TestThatTheYearIsRespected()
        {
            string matchedName;

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

            Assert.AreEqual(id, null);
        }