function ContributedPluginDiscoveryTest::testPluginDiscovery

Tests evaluating a condition provided by the 'rules_test' module.

We're trying to ensure that plugins from contributed modules are found in the namespace established by the RulesIntegrationTestBase::enableModule().

@covers ::evaluate

File

tests/src/Unit/Integration/ContributedPluginDiscoveryTest.php, line 41

Class

ContributedPluginDiscoveryTest
Tests contributed plugin discovery by RulesIntegrationTestBase.

Namespace

Drupal\Tests\rules\Unit\Integration

Code

public function testPluginDiscovery() {
    $this->assertTrue($this->condition
        ->evaluate());
}