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

ShouldThrowIfNoArguments() private method

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