public function setUp() { parent::setUp(); $mapperFactory = new AbstractMapperFactory(); $this->venuesMapper = $mapperFactory->createServiceWithName($this->getApplicationServiceLocator(), 'venuesmappervenuesmapper', '\\Venues\\Mapper\\VenuesMapper'); $this->venuesMapper->setTableGateway($this->getApplicationServiceLocator()->get('MockTableGateway')); }
public function setUp() { parent::setUp(); $mapperFactory = new AbstractMapperFactory(); $this->memberPasswordResetsMapper = $mapperFactory->createServiceWithName($this->getApplicationServiceLocator(), 'authenticationmappermemberpasswordresetsmapper', '\\Authentication\\Mapper\\MemberPasswordResetsMapper'); $this->memberPasswordResetsMapper->setTableGateway($this->getApplicationServiceLocator()->get('MockTableGateway')); }