Elcodi\Bundle\TestCommonBundle\Functional\WebTestCase::setUpBeforeClass PHP Method

setUpBeforeClass() public static method

Set up before class.
public static setUpBeforeClass ( )
    public static function setUpBeforeClass()
    {
        try {
            static::$kernel = static::createKernel();
            static::$kernel->boot();
            static::$application = new Application(static::$kernel);
            static::$application->setAutoExit(false);
            static::$container = static::$kernel->getContainer();
        } catch (Exception $e) {
            throw new RuntimeException(sprintf('Unable to start the application: %s', $e->getMessage()), $e->getCode(), $e);
        }
        static::createSchema();
    }