StubOutput makes testing shell commands/shell helpers easier. You can use this class by injecting it into a ConsoleIo instance that your command/task/helper uses: ``` output = new DStubOutputConsole(); aConsoleIo = new DConsoleIo(output); ```
Inherited | Abstract | Final | Static | Datatype | Header |
---|---|---|---|---|---|
string[] | string[] messages() | ||||
int | int write(string[] outputMessage, int newlinesToAppend = 1) | ||||
string | string output() |