You are here

public function TamperableComplexDataAdapterTest::testGetSource in Tamper 8

@covers ::getSource

File

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

Class

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

Namespace

Drupal\Tests\tamper\Unit\Adapter

Code

public function testGetSource() {
  $this->complexData
    ->expects($this
    ->once())
    ->method('toArray');
  $this->adapter
    ->getSource();
}