Elgg\SystemMessagesServiceTest::setup PHP Method

setup() public method

public setup ( )
    function setup()
    {
        $this->session = \ElggSession::getMock();
        $this->svc = new SystemMessagesService($this->session);
    }