public function FileTest::testGetIndicator in Freelinking 8.3
Same name and namespace in other branches
- 4.0.x tests/src/Unit/Plugin/freelinking/FileTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\FileTest::testGetIndicator()
Assert that getIndicator is functional.
File
- tests/
src/ Unit/ Plugin/ freelinking/ FileTest.php, line 63
Class
- FileTest
- Tests the freelinking file plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testGetIndicator() {
$plugin = $this
->getPlugin();
$this
->assertEquals(1, preg_match($plugin
->getIndicator(), 'file'));
}