You are here

private function SpamspanTestCase::_assert_at_dot in SpamSpan filter 7

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

File

./spamspan.test, line 31

Class

SpamspanTestCase

Code

private function _assert_at_dot($input, $shouldbe, $prefix = '', $suffix = '') {
  $settings = array(
    'spamspan_use_graphic' => 1,
    'spamspan_dot_enable' => 1,
  );
  $output = spamspan($prefix . $input . $suffix, $settings);
  $this
    ->assertEqual($prefix . $shouldbe . $suffix, $output);
}