public function BuiltinTest::testIsHidden in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 tests/src/Unit/Plugin/freelinking/BuiltinTest.php \Drupal\Tests\freelinking\Unit\Plugin\freelinking\BuiltinTest::testIsHidden()
Asserts that isHidden method returns TRUE.
File
- tests/
src/ Unit/ Plugin/ freelinking/ BuiltinTest.php, line 130
Class
- BuiltinTest
- Tests the freelinking builtin plugin.
Namespace
Drupal\Tests\freelinking\Unit\Plugin\freelinkingCode
public function testIsHidden() {
$accountProphet = $this
->prophesize('\\Drupal\\Core\\Session\\AccountProxyInterface');
$plugin = new Builtin($this->configuration, $this->id, $this->definition, $accountProphet
->reveal());
$this
->assertTrue($plugin
->isHidden());
}