public UpdatePublisherCommandHandlerTests() { _publisherRepository = new Mock <IPublisherRepository>(); IValidator <UpdatePublisherCommand> updatePublisherCommandValidator = new UpdatePublisherCommandValidator(_publisherRepository.Object); _updatePublisherCommandHandler = new UpdatePublisherCommandHandler(updatePublisherCommandValidator, _publisherRepository.Object); }
public UpdatePublisherCommandValidatorTests() { _publisherRepositoryMock = new Mock <IPublisherRepository>(); _updatePublisherCommandValidator = new UpdatePublisherCommandValidator(_publisherRepositoryMock.Object); }