public MoviesHandlerTests()
        {
            var engine = Substitute.For <ICupEngine>();

            engine.Process(Arg.Any <List <Movie> >()).Returns(this.MockMovies());
            this.handler = new MoviesHandler(engine);
        }
예제 #2
0
 public MoviesController(IMoviesRepository repository, IMoviesHandler handler)
 {
     this.repository = repository;
     this.handler    = handler;
 }