ConsoleCommandManagerTests ExecuteCommandThatThrowsException 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 ExecuteCommandThatThrowsException()
Examples

[Test]
public void ExecuteCommandThatThrowsException()
{
    string result = consoleCommands.ExecuteCommand("ThrowsException");
    Assert.AreEqual(
        "Error: Exception while invoking the command: " +
            "'" + new TargetInvocationException(null).Message + "'", result);
}
See Also