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

ShouldThrowIfNoArguments() private method

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