public function testCanDetectSucceededCommand()
{
// ----------------------------------------------------------------
// setup your test
$obj = new CommandResult(0, '');
// ----------------------------------------------------------------
// perform the change
$didFail = $obj->didCommandFail();
$didSucceed = $obj->didCommandSucceed();
// ----------------------------------------------------------------
// test the results
$this->assertFalse($didFail);
$this->assertTrue($didSucceed);
}