public function testKeyValueStore()
 {
     parent::testKeyValueStore();
     $this->_testCRUDWithExpiration();
     $this->cleanUp();
     $this->_testExpiration();
     $this->cleanUp();
 }
 protected function setUp()
 {
     parent::setUp('service_container_test');
     \ServiceContainer::reset();
     $services = array();
     $services['keyvalue.memory'] = array('class' => 'Drupal\\Core\\KeyValueStore\\KeyValueMemoryFactory');
     $parameters = array();
     $parameters['factory.keyvalue'][KeyValueFactory::DEFAULT_SETTING] = 'keyvalue.memory';
     $definition['services'] = $services;
     $definition['parameters'] = $parameters;
     variable_set('service_container_test_definition', $definition);
     \ServiceContainer::init();
 }