ConsoleCommandManagerTests ExecuteCommandWithWrongNumberOfParameters Method Delta Engine Documentation

Namespace: DeltaEngine.Platforms.Tests
Assembly: DeltaEngine.Platforms.Tests (in DeltaEngine.Platforms.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void ExecuteCommandWithWrongNumberOfParameters()
Examples

[Test]
public void ExecuteCommandWithWrongNumberOfParameters()
{
    string result = consoleCommands.ExecuteCommand("AddFloats 1");
    Assert.AreEqual("Error: The command has 2 parameters, but you entered 1", result);
}
See Also