public function CodeFilterTest::testCodefilterProcessCode in Code Filter 8
Test codefilter_process_code().
@dataProvider providerCodefilterProcessCode
File
- src/
Tests/ CodeFilterTest.php, line 40
Class
- CodeFilterTest
- Tests code filter functions.
Namespace
Drupal\codefilter\TestsCode
public function testCodefilterProcessCode($input, $expected) {
$result = CodeFilter::processCode($input);
$this
->assertEquals($expected, $result);
}