You are here

protected function MimeMailCompressUnitTestCase::setUp in Mime Mail 7

Sets up unit test environment.

Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.

Overrides DrupalUnitTestCase::setUp

File

tests/mimemail_compress.test, line 25

Class

MimeMailCompressUnitTestCase
Tests helper functions from the Mime Mail Compress module.

Code

protected function setUp() {
  drupal_load('module', 'mimemail_compress');
  parent::setUp();
}