public function tearDown() { try { if (method_exists(self::$m, 'flush')) { self::$m->flush(); } } catch (\Exception $e) { // do nothing } parent::tearDown(); }
public function setUp() { parent::setUp(); $this->generator = static::$staticContainer->get('s.teavee_google_web_fonts.generator'); }
public function setUp() { parent::setUp(); self::$m = self::$staticContainer->get('s.cache'); self::$a = $this->getMockBuilder('Scribe\\Teavee\\ObjectCacheBundle\\DependencyInjection\\Aware\\CacheManagerAwareTrait')->getMockForTrait(); }
public function setUp() { parent::setUp(); self::$m = self::$staticContainer->get('s.teavee_object_cache.attendant_mock'); }
public function setUp() { parent::setUp(); $this->controllerBehaviors = new ControllerBehaviors(); $this->controllerBehaviors->setServiceContainer($this->container); }
public function setUp() { parent::setUp(); static::$routeRedirectRepo = self::$staticContainer->get('s.mantle.route_redirect.repo'); static::$loader = new RouteRedirectLoader(static::$routeRedirectRepo); }
public function setUp() { parent::setUp(); self::$m = self::$staticContainer->get('s.cache'); self::$m = self::$staticContainer->get('s.cache'); }
public function setUp() { parent::setUp(); $this->e = static::$staticContainer->get('s.teavee_google_web_fonts.twig_extension'); }