Example #1
0
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\Service.AwsTestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     if (!$this->isSkipFunctionalTests()) {
         $this->iam = $this->getContainer()->aws->iam;
         $this->iam->enableEntityManager();
     }
 }
Example #2
0
 /**
  * Gets an entity manager
  *
  * @return EntityManager
  */
 public function getEntityManager()
 {
     return $this->iam->getEntityManager();
 }