コード例 #1
0
        public void TestHandleFilterChangedEventShouldUpdatePlots()
        {
            var @event = new FilterChangedEvent(null);

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