private function SpamspanTestCase::_assert_form in SpamSpan filter 7
1 call to SpamspanTestCase::_assert_form()
File
- ./
spamspan.test, line 25
Class
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);
}