AppHarbor.Tests.Commands.AddConfigCommandTest.ShouldThrowIfNoArguments C# (CSharp) Méthode

ShouldThrowIfNoArguments() private méthode

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