protected function setUp()
 {
     parent::setUp();
     $this->controller = new UsersFormController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
Beispiel #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->apiSetup = new ApiSetup();
     $this->validInputSample = array('key' => 'myApiKey', 'username' => 'myUsername', 'password' => 'myPassword');
     $this->resouceClassMapSample = array('contents' => 'ApiWebService\\Model\\Resources\\PostsApiResource', 'blogs' => 'ClassDoesntExist');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContrattiPubbliciSceltaContraenteSummaryController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new AttachmentsSummaryController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new AlboPretorioRelataPdfController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContenutiOperationsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContrattiPubbliciOperatoriFormController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new HomePageBlocksPositionsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContenutiTabellaUpdateController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->formDataSample = array('id' => 1, 'titolo' => 'My Hidden article title', 'tabella' => 'My large content table!');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new BlogsFormController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->controller->layout()->setVariable('configurations', array('media_dir' => 'public\\frontend\\media', 'media_project' => 'public\\frontend\\media\\demo'));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContrattiPubbliciSummaryController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->setupUserSession($this->recoverUserDetails());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new ContenutiUpdateController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->formDataSample = array('titolo' => 'My Content Title', 'sommario' => 'My Content SubTitle', 'testo' => 'My Large Text', 'sottosezione' => 1, 'dataInserimento' => '2015-05-28 01:01:00', 'dataScadenza' => '2015-05-28 01:01:00', 'attivo' => 1, 'home' => 1, 'rss' => 1, 'utente' => 1, 'id' => 1);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->controller = new AttachmentsOperationsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->getServiceManager());
     $this->request->setMethod(Request::METHOD_POST)->getPost()->fromArray(array('id' => 1, 'attiConcessioneColonna' => 2));
 }
 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = new UsersRecoverPasswordController();
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = new AlboPretorioSearchController();
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = $this->getMockForAbstractClass('\\Application\\Controller\\SetupAbstractController');
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = new CookieWarningController();
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
 protected function setUp()
 {
     parent::setUp();
     ServiceLocatorFactory::setInstance($this->getServiceManager());
     $this->controller = new StatoCivileExportController();
     $this->controller->setServiceLocator(ServiceLocatorFactory::getInstance());
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($this->serviceManager);
 }
 protected function setUp()
 {
     parent::setUp();
     $sm = $this->getServiceManager();
     $this->request = new Request();
     $sm->setService('request', $this->request);
     $this->controller = new AlboPretorioOperationsController();
     $this->controller->setEvent($this->event);
     $this->controller->setServiceLocator($sm);
 }
Beispiel #20
0
 protected function setUp()
 {
     parent::setUp();
     $this->helper = new HomePageHelper();
     $this->homePageRecordsSample = array('albo-pretorio' => array(array('id' => 1, 'referenceId' => 2, 'position' => 2), array('id' => 2, 'referenceId' => 3, 'position' => 3), array('id' => 3, 'referenceId' => 4, 'position' => 1)), 'freeText' => array(array('id' => 4, 'referenceId' => 5, 'freeText' => 'This is my free text', 'position' => 1)));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->objectWrapper = new AttiConcessioneGetterWrapper(new AttiConcessioneGetter($this->getEntityManagerMock()));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->queryBuilderHelperAbstract = $this->getMockForAbstractClass('\\ModelModule\\Model\\QueryBuilderHelperAbstract', array($this->getEntityManagerMock()));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->attachmentsFormControllerHelper = $this->getMockForAbstractClass('\\ModelModule\\Model\\Attachments\\AttachmentsFormControllerHelperAbstract');
 }
Beispiel #24
0
 protected function setUp()
 {
     parent::setUp();
     $this->objectGetter = new ConfigGetter($this->getEntityManagerMock());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->objectGetter = new AlboPretorioSezioniGetter($this->getEntityManagerMock());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->objectGetter = new UsersRolesPermissionsGetter($this->getEntityManagerMock());
 }
 protected function setUp()
 {
     parent::setUp();
     $this->objectWrapper = new TicketsGetterWrapper(new TicketsGetter($this->getEntityManagerMock()));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->objectWrapper = new UsersRespProcGetterWrapper(new UsersRespProcGetter($this->getEntityManagerMock()));
 }
 protected function setUp()
 {
     parent::setUp();
     $this->operationsModelAbstract = $this->getMockForAbstractClass('\\ModelModule\\Model\\OperationsModelAbstract');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->helper = new AttachmentsFormControllerHelper();
 }