PHPUnit_Extensions_Story_Scenario::then PHP Method

then() public method

Adds a "Then" step to the scenario.
public then ( array $arguments ) : PHPUnit_Extensions_Story_TestCase
$arguments array
return PHPUnit_Extensions_Story_TestCase
    public function then($arguments)
    {
        return $this->addStep(new PHPUnit_Extensions_Story_Then($arguments));
    }

Usage Example

示例#1
0
 /**
  * Adds a "Then" step to the scenario.
  *
  * @param  array $arguments
  * @return PHPUnit_Extensions_Story_TestCase
  */
 protected function then($outcome)
 {
     return $this->scenario->then(func_get_args());
 }