function AndExpressionTest::setUp

Overrides RulesUnitTestBase::setUp

File

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

Class

AndExpressionTest
@coversDefaultClass <a href="/api/rules/src%21Plugin%21RulesExpression%21AndExpression.php/class/AndExpression/8.x-3.x" title="Evaluates a group of conditions with a logical AND." class="local">\Drupal\rules\Plugin\RulesExpression\AndExpression</a> @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());
}