public async Task HandleEvent_Action()
        {
            // Arrange
            kernel.Bind <ITestEventTask>().ToConstant(new TestEventTask());

            // Act
            var runner = new EventRunner(this.kernel);
            var result = await runner.HandleEvent <ITestEventTask>(t => t.DoStuff2(123), new Event());

            // Assert
            Assert.That(result.Succeeded, Is.True);
        }
        public async Task HandleEvent_TaskEventResult()
        {
            // Arrange
            kernel.Bind <ITestEventTask>().ToConstant(new TestEventTask());

            // Act
            var runner = new EventRunner(this.kernel);
            var result = await runner.HandleEvent <ITestEventTask>(t => t.DoStuffEventResult(123), new Event());

            // Assert
            Assert.That(result.SourceIds.First(), Is.EqualTo(456));
        }