didCommandSucceed() public method

public didCommandSucceed ( ) : boolean
return boolean
 /**
  * @covers DataSift\Storyplayer\CommandLib\CommandResult::didCommandFail
  * @covers DataSift\Storyplayer\CommandLib\CommandResult::didCommandSucceed
  */
 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);
 }