Example #1
0
 /**
  * @group ZF-8520
  */
 public function testFirstResourceOptionShouldNotBeDropped()
 {
     $options = array(array('someData'), array('someMoreData'));
     $resource = new Zend_Application_BootstrapTest_Resource_Foo($options);
     $stored = $resource->getOptions();
     $this->assertSame($options, $stored);
 }
Example #2
0
 /**
  * @group ZF-8520
  */
 public function testFirstResourceOptionShouldNotBeDropped()
 {
     require_once dirname(__FILE__) . '/../_files/resources/Foo.php';
     $options = array(array('someData'), array('someMoreData'));
     $resource = new Zend_Application_BootstrapTest_Resource_Foo($options);
     $stored = $resource->getOptions();
     $this->assertSame($options, $stored);
 }