예제 #1
0
        public ViewCatalogTests()
        {
            _getCustomersMock = new Mock <IGetCustomers>();
            _getMoviesMock    = new Mock <IGetMovies>();

            _service = new ViewCatalogService(_getCustomersMock.Object, _getMoviesMock.Object);
        }
예제 #2
0
 public CustomerController(ViewCatalogService viewCatalogService, BuyMovieService buyMovieService)
 {
     _viewCatalogService = viewCatalogService;
     _buyMovieService    = buyMovieService;
 }