Example #1
0
        public void TestHandleFilterAddedEventShouldUpdatePlots()
        {
            var @event = new FilterAddedEvent(null);

            _service.Handle(@event);
            _mockTask.Verify(p => p.Execute(It.IsAny <UpdatePlotsCommand>()),
                             Times.Once());
        }
Example #2
0
 public void Handle(FilterAddedEvent args)
 {
     _commandBus.Execute(new UpdatePlotsCommand());
 }