public function beforeSuite() { if ($bootstrap = $this->io->getBootstrapPath()) { if (!is_file($bootstrap)) { throw new \RuntimeException(sprintf("Bootstrap file '%s' does not exist", $bootstrap)); } require $bootstrap; } }