public function PathAliasExistsTest::testConstructor in Rules 8.3
Tests that the dependencies are properly set in the constructor.
@covers ::__construct
File
- tests/
src/ Unit/ Integration/ Condition/ PathAliasExistsTest.php, line 55
Class
- PathAliasExistsTest
- @coversDefaultClass \Drupal\rules\Plugin\Condition\PathAliasExists @group RulesCondition
Namespace
Drupal\Tests\rules\Unit\Integration\ConditionCode
public function testConstructor() {
$property = new \ReflectionProperty($this->condition, 'aliasManager');
$property
->setAccessible(TRUE);
$this
->assertSame($this->aliasManager
->reveal(), $property
->getValue($this->condition));
}