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

ShouldThrowIfNoArguments() private method

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