public void Init() { _workflowMessageServiceMock = new Mock <IWorkflowMessageService>(); _localizationSettingsMock = new Mock <LocalizationSettings>(); _sendQuantityBelowStoreOwnerNotificationCommandHandler = new SendQuantityBelowStoreOwnerNotificationCommandHandler(_workflowMessageServiceMock.Object, _localizationSettingsMock.Object); _request = new SendQuantityBelowStoreOwnerNotificationCommand { Product = new Product(), ProductAttributeCombination = new ProductAttributeCombination() }; _requestWithoutPAC = new SendQuantityBelowStoreOwnerNotificationCommand { Product = new Product() }; }
public void Init() { _messageProviderMock = new Mock <IMessageProviderService>(); _settings = new LanguageSettings(); _handler = new SendQuantityBelowStoreOwnerNotificationCommandHandler(_messageProviderMock.Object, _settings); }