protected function FpmTestBase::getMapperObject in Feeds Paragraphs 8
Generates a mapper object.
Return value
5 calls to FpmTestBase::getMapperObject()
- FpmTestBase::initWrapper in tests/
src/ Unit/ FpmTestBase.php - Instantiates and returns a WrapperTarget object.
- FpmTestBase::setUp in tests/
src/ Unit/ FpmTestBase.php - @inheritdoc
- TestImporter::setUp in tests/
src/ Unit/ TestImporter.php - @inheritdoc
- TestImporter::testConstruct in tests/
src/ Unit/ TestImporter.php - @covers ::__construct
- TestMapper::setUp in tests/
src/ Unit/ TestMapper.php - @inheritdoc
File
- tests/
src/ Unit/ FpmTestBase.php, line 341
Class
Namespace
Drupal\Tests\feeds_para_mapper\UnitCode
protected function getMapperObject() {
$plugin_manager = $this
->getPluginManagerMock();
$field_manager = $this->fieldHelper
->getEntityFieldManagerMock();
$bundleInfo = $this->fieldHelper
->getEntityTypeBundleInfoMock();
return new Mapper($plugin_manager, $field_manager, $bundleInfo);
}