You are here

protected function AndExpressionTest::setUp in Rules 8.3

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());
}