public void Setup()
{
command = new TestCommand();
commandHandler = Substitute.For<ICommandHandler<TestCommand>>();
commandHandlerResolver = Substitute.For<ICommandHandlerResolver>();
commandHandlerResolver.ResolveCommandHandler<ICommandHandler<TestCommand>>().Returns(commandHandler);
sut = new CommandBus(commandHandlerResolver);
}