You are here

private function SpamspanTestCase::_assert in SpamSpan filter 7

1 call to SpamspanTestCase::_assert()
SpamspanTestCase::testSpamspan in ./spamspan.test

File

./spamspan.test, line 19

Class

SpamspanTestCase

Code

private function _assert($input, $shouldbe, $prefix = '', $suffix = '') {
  $output = spamspan($prefix . $input . $suffix);
  $this
    ->assertEqual($prefix . $shouldbe . $suffix, $output);
}