You are here

function Main::checkEmail in SpamSpan filter 5

1 call to Main::checkEmail()
Main::testEmail in test/spamspan_test.inc

File

test/spamspan_test.inc, line 12

Class

Main

Code

function checkEmail($prefix = '', $suffix = '', $original = "", $shouldbe = '') {

  // Simple utility function to check that email within text is converted
  $this
    ->assertEqual($prefix . $shouldbe . $suffix, spamspan($prefix . $original . $suffix, ""));
}