コード例 #1
0
 /**
  * Add behaviors relevant when a test is executed
  *
  * @param TestInterface $test
  * @return void
  */
 public function onTestStart(TestInterface $test)
 {
     $scope = $test->getScope();
     $behavior = new StateBehavior($test);
     $scope->use($behavior);
 }