Наследование: extends Scope
Пример #1
0
 /**
  * @param $actual
  *
  * @return Expectation
  */
 function expect($actual)
 {
     return Specification::current()->expect($actual);
 }
Пример #2
0
 function skipIf($condition)
 {
     $current = Specification::current() ?: Suite::current();
     return $current->skipIf($condition);
 }