Elgg\Mail\MailerTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->mailer = new InMemoryTransport();
        _elgg_services()->setValue('mailer', $this->mailer);
    }