Beispiel #1
0
        public void GetPeopleTest()
        {
            var target = new TheMovieDb();

            const int ThreadID = 0;

            var actual = target.GetPeople(TheMovieDb.PersonType.Actor, ThreadID, ID);

            Assert.IsTrue(actual.Count > 10);

            actual = target.GetPeople(TheMovieDb.PersonType.Author, ThreadID, ID);
            Assert.IsTrue(actual.Count == 1);

            actual = target.GetPeople(TheMovieDb.PersonType.Director, ThreadID, ID);
            Assert.IsTrue(actual.Count == 3);
        }