Exemplo n.º 1
0
        public FilmCommentShould()
        {
            httpMovieService      = new HttpMovieClientServiceMock();
            movieRepository       = new MovieRepositoryMock();
            filmCommentRepository = new FilmCommentRepositoryMock();

            movieService      = new MovieService(httpMovieService.Object, movieRepository.Object);
            filmCommenService = new FilmCommentService(filmCommentRepository.Object, movieService);
        }
Exemplo n.º 2
0
 public InsertFilmShould()
 {
     movieRepository  = new MovieRepositoryMock();
     httpMovieService = new HttpMovieClientServiceMock();
     movieService     = new MovieService(httpMovieService.Object, movieRepository.Object);
 }