/** * {@inheritdoc} * @see Scalr\Tests\Service\Aws.CloudWatchTestCase::setUp() */ protected function setUp() { parent::setUp(); if (!$this->isSkipFunctionalTests()) { $this->cloudWatch = $this->getContainer()->aws(self::REGION)->cloudWatch; $this->cloudWatch->enableEntityManager(); } }
/** * {@inheritdoc} * @see Scalr\Tests\Service\Aws.CloudWatchTestCase::setUp() */ protected function setUp() { parent::setUp(); if (!static::isSkippedFunctionalTest()) { $this->cloudWatch = $this->getEnvironment()->aws(self::REGION)->cloudWatch; $this->cloudWatch->enableEntityManager(); } }
/** * Gets an EntityManager * * @return \Scalr\Service\Aws\EntityManager */ public function getEntityManager() { return $this->cloudWatch->getEntityManager(); }