public function ConditionAccessResolverTraitTest::testResolveConditions in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php \Drupal\Tests\Core\Condition\ConditionAccessResolverTraitTest::testResolveConditions()
- 9 core/tests/Drupal/Tests/Core/Condition/ConditionAccessResolverTraitTest.php \Drupal\Tests\Core\Condition\ConditionAccessResolverTraitTest::testResolveConditions()
Tests the resolveConditions() method.
@covers ::resolveConditions
@dataProvider providerTestResolveConditions
File
- core/
tests/ Drupal/ Tests/ Core/ Condition/ ConditionAccessResolverTraitTest.php, line 26 - Contains \Drupal\Tests\Core\Condition\ConditionAccessResolverTraitTest.
Class
- ConditionAccessResolverTraitTest
- @coversDefaultClass \Drupal\Core\Condition\ConditionAccessResolverTrait @group Condition
Namespace
Drupal\Tests\Core\ConditionCode
public function testResolveConditions($conditions, $logic, $expected) {
$trait_object = new TestConditionAccessResolverTrait();
$this
->assertEquals($expected, $trait_object
->resolveConditions($conditions, $logic));
}