Пример #1
0
 public function testHasOptionShouldReturnTrueWhenOptionPresent()
 {
     // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php';
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->setOptions(array('foo' => 'bar'));
     $this->assertTrue($bootstrap->hasOption('foo'));
 }
Пример #2
0
 public function testHasOptionShouldReturnTrueWhenOptionPresent()
 {
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->setOptions(array('foo' => 'bar'));
     $this->assertTrue($bootstrap->hasOption('foo'));
 }