Elgg\Http\ResponseFactoryTest::setUp PHP Метод

setUp() публичный Метод

public setUp ( )
    public function setUp()
    {
        $this->session = ElggSession::getMock();
        $this->session->start();
        $this->config = $this->config();
        $this->hooks = new PluginHooksService();
        $this->input = new Input();
        $this->request = $this->createRequest('', 'GET');
        $this->amd_config = new Config($this->hooks);
        $this->system_messages = new SystemMessagesService($this->session);
        $this->ajax = new Service($this->hooks, $this->system_messages, $this->input, $this->amd_config);
        _elgg_services()->logger->disable();
    }