public void ShouldDispatchHelpWhenNoCommand(
[Frozen]Mock<ITypeNameMatcher> typeNameMatcher,
[Frozen]Mock<IKernel> kernel,
Mock<FooCommand> command,
CommandDispatcher commandDispatcher)
{
var helpArgument = "help";
typeNameMatcher.Setup(x => x.IsSatisfiedBy(helpArgument)).Returns(true);
typeNameMatcher.Setup(x => x.GetMatchedType(helpArgument)).Returns(FooCommandType);
kernel.Setup(x => x.Resolve(FooCommandType)).Returns(command.Object);
commandDispatcher.Dispatch(new string[0]);
typeNameMatcher.VerifyAll();
}