Phalcon\Test\Unit\Security\RandomTest::_before PHP Method

_before() protected method

executed before each test
protected _before ( )
    protected function _before()
    {
        if (!function_exists('random_bytes') && !extension_loaded('openssl') && !extension_loaded('libsodium') && !file_exists('/dev/urandom')) {
            $this->markTestSkipped('Warning: libsodium and openssl extensions is not loaded, /dev/urandom file does not exists and random_bytes function does not exists');
        }
    }