/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @access protected */ protected function setUp() { parent::setUp(); $entityTable = new TableGateway('eav_entity', Bootstrap::adapter()); $this->_entityTable = $entityTable; $this->_eav = new Eav($entityTable); }