/**
  * @test
  */
 public function addedObjectsExistInArray()
 {
     $object = 'StringObject';
     $this->variableProvider->add('variable', $object);
     $this->assertTrue($this->variableProvider->exists('variable'));
     $this->assertTrue(isset($this->variableProvider['variable']));
 }
 /**
  * @param string $identifier
  * @return boolean
  */
 public function exists($identifier)
 {
     return $identifier === 'incrementer' || $identifier === 'random' || parent::exists($identifier);
 }