Ejemplo n.º 1
0
 /**
  * @covers Packfire\FuelBlade\Container::offsetExists
  * @covers Packfire\FuelBlade\Container::loadValue
  */
 public function testOffsetExists()
 {
     $this->assertTrue($this->object->offsetExists('test.number'));
     $this->assertTrue(isset($this->object['test.number']));
 }
Ejemplo n.º 2
0
 public function testOffsetExists()
 {
     $this->assertFalse($this->container->offsetExists('foo'));
     $this->container['foo'] = TRUE;
     $this->assertTrue($this->container->offsetExists('foo'));
 }