示例#1
0
        public void MovieDataTests_GetAllMovies()
        {
            IDatabaseComs databaseComs = new DummyDatabaseComs();
            IMovieData    movieData    = new MovieData(databaseComs);

            movieData.GetAllMovies();

            Console.WriteLine("");
        }
示例#2
0
        public void MovieDataTests_EditDatabaseRecord()
        {
            IDatabaseComs databaseComs = new DummyDatabaseComs();
            IMovieData    movieData    = new MovieData(databaseComs);

            movieData.EditDatabaseRecord("1", DummyMovies.SingleMovie);

            Console.WriteLine("");
        }
示例#3
0
        public void MovieDataTests_DeleteDatabaseRecord()
        {
            IDatabaseComs databaseComs = new DummyDatabaseComs();
            IMovieData    movieData    = new MovieData(databaseComs);

            movieData.DeleteDatabaseRecord("1");

            Console.WriteLine("");
        }
示例#4
0
        public void MovieDataTests_AddToDatabase()
        {
            IDatabaseComs databaseComs = new DummyDatabaseComs();
            IMovieData    movieData    = new MovieData(databaseComs);

            movieData.AddToDatabase(DummyMovies.SingleMovie);

            Console.WriteLine("");
        }