Ejemplo n.º 1
0
 public MoviesController(MovieAppService movieAppService, StockAppService stockAppService)
 {
     this._movieAppService = movieAppService;
     this._stockAppService = stockAppService;
 }
 public void SetUp()
 {
     _repository = new Mock <IMovieRepository>();
     _appService = new MovieAppService(_repository.Object);
 }
        public MovieAppServiceTest()
        {
            filmesServiceMock = new Mock <IFilmesService>();

            movieAppService = new MovieAppService(filmesServiceMock.Object);
        }