public void DispatcherIsRegisteredWithoutHandler()
        {
            // Arrange
            var registry = new CommandRegistry(new Mock<ICommandHandlerExecuter>().Object);
            ICommandDispatcher DispatcherFunc() => new Mock<ICommandDispatcher>().Object;

            // Act
            registry.Register<SimpleCommand, SimpleResult>(DispatcherFunc);

            // Assert
            var result = registry.GetCommandDispatcherFactory(new SimpleCommand());
            Assert.Equal(result, DispatcherFunc);
        }