Esempio n. 1
0
        public void Should_EditAnMovie_WhenEditingAnMovie()
        {
            //Arrange
            MovieModel movie = new MovieModel {
                Id = 1, Name = "EditTest"
            };

            //Act
            movieLogic.EditMovie(movie);

            //Assert
            Assert.True(movieLogic.GetMovies(null)[0].Name == "EditTest");
        }