Example #1
0
 /**
  * This method will always cause a test case to pass.
  *
  * @return bool
  */
 protected function testPass()
 {
     $currTestStatus = $this->_currentTestCase->getTestStatus();
     if ($currTestStatus == false) {
         return false;
     }
     $this->_currentTestCase->setMessage('');
     $this->_currentTestCase->setTestPassed();
     return true;
 }