public MovieUpdateUnitTest() { movieUpdateRepositoryMock = new Mock <IMovieUpdateRepository>(); eventbusMock = new Mock <IEventBus>(); backgroundQueueMock = new BackgroundQueue((e) => { }, 1, 1000); mapperMock = new Mock <IMapper>(); movieUpdateCommandHandler = new MovieUpdateCommandHandler(movieUpdateRepositoryMock.Object, mapperMock.Object, backgroundQueueMock, eventbusMock.Object); }
public MovieUpdateApiCommandHandler(IMovieUpdateCommandHandler movieUpdateCommandHandler) { this.movieUpdateCommandHandler = movieUpdateCommandHandler; }