You are here

private function SpamspanTestCase::_assert_form in SpamSpan filter 7

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

File

./spamspan.test, line 25

Class

SpamspanTestCase

Code

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