AppHarbor.Tests.Commands.LinkAppCommandTest.ShouldThrowIfNoArguments C# (CSharp) Method

ShouldThrowIfNoArguments() private method

private ShouldThrowIfNoArguments ( LinkAppCommand command ) : void
command AppHarbor.Commands.LinkAppCommand
return void
        public void ShouldThrowIfNoArguments(LinkAppCommand command)
        {
            Assert.Throws<CommandException>(() => command.Execute(new string[0]));
        }