function RulesEngineTest::testSwappedCoreServices

Verifies swapping out core services works.

File

tests/src/Kernel/RulesEngineTest.php, line 174

Class

RulesEngineTest
Test using the Rules API to create and evaluate rules.

Namespace

Drupal\Tests\rules\Kernel

Code

public function testSwappedCoreServices() {
    $condition_manager = $this->container
        ->get('plugin.manager.condition');
    $this->assertInstanceOf(ConditionManager::class, $condition_manager);
}