public AddCustomTagHandler(IAddCustomTagService addCustomTagService) { EnsureArg.IsNotNull(addCustomTagService, nameof(addCustomTagService)); _addCustomTagService = addCustomTagService; }
public AddCustomTagServiceTests() { _customTagEntryValidator = Substitute.For <ICustomTagEntryValidator>(); _customTagStore = Substitute.For <ICustomTagStore>(); _customTagService = new AddCustomTagService(_customTagStore, _customTagEntryValidator, NullLogger <AddCustomTagService> .Instance); }
public AddCustomTagHandler(IDicomAuthorizationService dicomAuthorizationService, IAddCustomTagService addCustomTagService) : base(dicomAuthorizationService) { EnsureArg.IsNotNull(addCustomTagService, nameof(addCustomTagService)); _addCustomTagService = addCustomTagService; }
public AddCustomTagServiceTests() { _customTagEntryValidator = Substitute.For <ICustomTagEntryValidator>(); _customTagStore = Substitute.For <ICustomTagStore>(); _customTagService = new AddCustomTagService(_customTagStore, _customTagEntryValidator); }