You are here

public function TamperableComplexDataAdapterTest::testGetSourceProperty in Tamper 8

@covers ::getSourceProperty

File

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

Class

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

Namespace

Drupal\Tests\tamper\Unit\Adapter

Code

public function testGetSourceProperty() {
  $this->complexData
    ->expects($this
    ->once())
    ->method('get')
    ->with('foo');
  $this->adapter
    ->getSourceProperty('foo');
}