public function _before(UnitTester $I)
{
if (!function_exists('xcache_emulation') && !function_exists('xcache_get')) {
throw new \PHPUnit_Framework_SkippedTestError('Warning: xcache extension is not loaded');
}
$I->haveServiceInDi('modelsMetadata', function () {
return new Xcache(['prefix' => 'app\\', 'lifetime' => 60]);
}, true);
$this->data = (require PATH_FIXTURES . 'metadata/robots.php');
xcache_unset('$PMM$app\\');
}