public function test_mailer_should_read_default_attachment() { $this->_helper->injectConfigValues(array('mailer' => array('attachments' => array('site-logo' => '/path/to/my/logo.png')))); $mailer = new Garp_Mailer(); $this->assertEquals($mailer->getDefaultAttachments(), array('site-logo' => '/path/to/my/logo.png')); }