Exemple #1
0
        public void ParsesMovieDirector()
        {
            MovieSearch batmanReturns = Execute(EmbeddedResources.GetResource("search.json"));

            Assert.Equal("tt0103776", batmanReturns.ImdbId);
        }
Exemple #2
0
        public void ParsesMovieDirector()
        {
            Movie batmanReturns = Execute(EmbeddedResources.GetResource("details.json"));

            Assert.Equal("Tim Burton", batmanReturns.Director);
        }
Exemple #3
0
        public void ParsesMovieTitle()
        {
            MovieSearch batmanReturns = Execute(EmbeddedResources.GetResource("search.json"));

            Assert.Equal("Batman Returns", batmanReturns.Title);
        }
Exemple #4
0
        public void ParsesMovieYear()
        {
            Movie batmanReturns = Execute(EmbeddedResources.GetResource("details.json"));

            Assert.Equal(1992, batmanReturns.Year);
        }