Exemplo n.º 1
0
 public function testSettingOptionsShouldProxyToInternalSetters()
 {
     // require_once dirname(__FILE__) . '/../_files/ZfAppBootstrap.php';
     $options = array('arbitrary' => 'foo');
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->setOptions($options);
     $this->assertEquals('foo', $bootstrap->getArbitrary());
 }
Exemplo n.º 2
0
 public function testSettingOptionsShouldProxyToInternalSetters()
 {
     $options = array('arbitrary' => 'foo');
     $bootstrap = new ZfAppBootstrap($this->application);
     $bootstrap->setOptions($options);
     $this->assertEquals('foo', $bootstrap->getArbitrary());
 }