function OrExpressionTest::setUp

Overrides RulesUnitTestBase::setUp

File

tests/src/Unit/OrExpressionTest.php, line 26

Class

OrExpressionTest
@coversDefaultClass \Drupal\rules\Plugin\RulesExpression\OrExpression @group Rules

Namespace

Drupal\Tests\rules\Unit

Code

protected function setUp() : void {
    parent::setUp();
    $this->or = new OrExpression([], '', [
        'label' => 'Condition set (OR)',
    ], $this->expressionManager
        ->reveal(), $this->rulesDebugLogger
        ->reveal());
}