コード例 #1
0
 /**
  * @inheritDoc
  */
 protected function setUp()
 {
     parent::setUp();
     /* Create the provider instance. */
     $options = array(ProviderServiceInterface::PROVIDER_OPT_PREFIX => 'my_prefix', ProviderServiceInterface::PROVIDER_OPT_SEPARATOR => ':');
     $this->provider = new MemoryProviderService($options);
 }
コード例 #2
0
 /**
  * @inheritDoc
  */
 protected function tearDown()
 {
     parent::tearDown();
     /* Close all active connections. */
     $this->client->quit();
 }