/** * @param $actual * * @return Expectation */ function expect($actual) { return Specification::current()->expect($actual); }
function skipIf($condition) { $current = Specification::current() ?: Suite::current(); return $current->skipIf($condition); }