Ejemplo n.º 1
0
 /**
  * @testdox unit test: Test offsetUnset() works via method call and array access
  * @covers Zend\Db\Adapter\ParameterContainer::offsetUnset
  */
 public function testOffsetUnset()
 {
     $this->parameterContainer->offsetSet('boo', 'baz');
     $this->assertTrue($this->parameterContainer->offsetExists('boo'));
     $this->parameterContainer->offsetUnset('boo');
     $this->assertFalse($this->parameterContainer->offsetExists('boo'));
 }