public function testGetBundleFields($entity_type_id,
$bundle, array
$expected_fields) { $test_data =
[ 'getAllFields' =>
[ '7' =>
$this->
getAllFieldData(),
],
];
$field_discovery =
new FieldDiscoveryTestClass($this->fieldPluginManager->
reveal(),
$this->migrationPluginManager->
reveal(),
$this->logger->
reveal(),
$test_data);
$actual_fields =
$field_discovery->
getBundleFields('7',
$entity_type_id,
$bundle);
$this->
assertSame($expected_fields,
$actual_fields);
} /**
* Provides data for testGetBundleFields.
*
* @return array
* The data.
*/
public function getBundleFieldsData() { return [