You are here

protected function TamperableComplexDataAdapterTest::setUp in Tamper 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/Adapter/TamperableComplexDataAdapterTest.php, line 32

Class

TamperableComplexDataAdapterTest
@coversDefaultClass \Drupal\tamper\Adapter\TamperableComplexDataAdapter @group tamper

Namespace

Drupal\Tests\tamper\Unit\Adapter

Code

protected function setUp() {
  $this->complexData = $this
    ->createMock(ComplexDataInterface::class);
  $this->adapter = new TamperableComplexDataAdapter($this->complexData);
}