public GuardianAttachmentServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.guardianAttachmentService = new GuardianAttachmentService( storageBroker: this.storageBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object); }
public GuardianAttachmentsController(IGuardianAttachmentService guardianAttachmentService) => this.guardianAttachmentService = guardianAttachmentService;