function AndExpressionTest::setUp

Overrides RulesUnitTestBase::setUp

File

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

Class

AndExpressionTest
@coversDefaultClass \Drupal\rules\Plugin\RulesExpression\AndExpression @group Rules

Namespace

Drupal\Tests\rules\Unit

Code

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