示例#1
0
 /**
  * {@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();
     }
 }
示例#2
0
 /**
  * {@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();
     }
 }
示例#3
0
 /**
  * Gets an EntityManager
  *
  * @return \Scalr\Service\Aws\EntityManager
  */
 public function getEntityManager()
 {
     return $this->cloudWatch->getEntityManager();
 }