public function run() { if (!$this->count()) { throw new BadMethodCallException(self::ERROR_TEST_RAN_WITHOUT_VARIATIONS); } $this->hasRun(true); $this->calculateVariation(); }