You are here

public function MessageDigestBaseTestCase::testDigestNotifierPluginsExist in Message Digest 7

File

./message_digest.test, line 17

Class

MessageDigestBaseTestCase

Code

public function testDigestNotifierPluginsExist() {
  $count = 0;
  foreach (message_notify_get_notifiers() as $plugin_name => $plugin) {
    if (strpos($plugin_name, 'digest') === FALSE) {
      $count++;
    }
  }
  $this
    ->assertTrue($count >= 2, 'There are at least 2 digest notifiers.');
}