public function RulesEngineTest::testSwappedCoreServices in Rules 8.3
Verifies swapping out core services works.
File
- tests/
src/ Kernel/ RulesEngineTest.php, line 172
Class
- RulesEngineTest
- Test using the Rules API to create and evaluate rules.
Namespace
Drupal\Tests\rules\KernelCode
public function testSwappedCoreServices() {
$condition_manager = $this->container
->get('plugin.manager.condition');
$this
->assertTrue($condition_manager instanceof ConditionManager);
}