public function TamperableFeedItemAdapterTest::testGetSourceProperty in Feeds Tamper 8.2
@covers ::getSourceProperty
File
- tests/
src/ Unit/ Adapter/ TamperableFeedItemAdapterTest.php, line 50
Class
- TamperableFeedItemAdapterTest
- @coversDefaultClass \Drupal\feeds_tamper\Adapter\TamperableFeedItemAdapter @group feeds_tamper
Namespace
Drupal\Tests\feeds_tamper\Unit\AdapterCode
public function testGetSourceProperty() {
$this->feedItem
->expects($this
->once())
->method('get')
->with('foo')
->willReturn('bar');
$this
->assertEquals('bar', $this->adapter
->getSourceProperty('foo'));
}