You are here

protected function EntitySaveTest::setUp in Rules 8.3

Overrides RulesEntityIntegrationTestBase::setUp

File

tests/src/Unit/Integration/RulesAction/EntitySaveTest.php, line 31

Class

EntitySaveTest
@coversDefaultClass \Drupal\rules\Plugin\RulesAction\EntitySave @group RulesAction

Namespace

Drupal\Tests\rules\Unit\Integration\RulesAction

Code

protected function setUp() : void {
  parent::setUp();
  $this->entity = $this
    ->prophesizeEntity(EntityInterface::class);
  $this->action = $this->actionManager
    ->createInstance('rules_entity_save');
}