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