/**
  * testUnshift
  *
  * @return  void
  *
  * @covers Windwalker\Registry\Registry::unshift
  */
 public function testUnshift()
 {
     $registry = new Registry();
     $registry->set('foo', array('var1', 'var2', 'var3'));
     $registry->unshift('foo', 'var4');
     $this->assertEquals('var4', $registry->get('foo.0'));
     $registry->unshift('foo', 'var5', 'var6');
     $this->assertEquals('var5', $registry->get('foo.0'));
     $this->assertEquals('var6', $registry->get('foo.1'));
     $registry->setRaw('foo2', (object) array('var1', 'var2', 'var3'));
     $b = $registry->get('foo2');
     $this->assertTrue(is_object($b));
     $registry->unshift('foo2', 'var4');
     $b = $registry->get('foo2');
     $this->assertTrue(is_array($b));
 }