public function testChecksIfHasKey()
 {
     $this->assertFalse($this->coll->hasKey('test'));
     $this->coll->add('test', 'value');
     $this->assertEquals(true, $this->coll->hasKey('test'));
     $this->coll->add('test2', 'value2');
     $this->assertEquals(true, $this->coll->hasKey('test'));
     $this->assertEquals(true, $this->coll->hasKey('test2'));
     $this->assertFalse($this->coll->hasKey('testing'));
     $this->assertEquals(false, $this->coll->hasKey('AB-C', 'junk'));
 }
 private function addConfigSettings(Collection $config)
 {
     foreach ($this->configSettings as $k => $v) {
         if (!$config->hasKey($k)) {
             $config->set($k, $v);
         }
     }
 }