Mock connection object for test case.
Expanded class hierarchy of MockTestConnection
class MockTestConnection {
var $commandsRun = array();
var $connectionString;
function run($cmd) {
$this->commandsRun[] = $cmd;
}
function flushCommands() {
$out = $this->commandsRun;
$this->commandsRun = array();
return $out;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MockTestConnection:: |
function | |||
MockTestConnection:: |
function | |||
MockTestConnection:: |
property | |||
MockTestConnection:: |
property |