$test_class =
new TestClass();
$this->
assertSame($expected_components,
$test_class->
getInlineBlockComponents($sections));
} /**
* @covers ::getInlineBlockRevisionIdsInSections
*
* @dataProvider providerSectionsWithInlineComponents
*/
public function testGetInlineBlockRevisionIdsInSections($sections,
$components,
$expected_revision_ids) { $test_class =
new TestClass();
$this->
assertSame($expected_revision_ids,
$test_class->
getInlineBlockRevisionIdsInSections($sections));
}}/**
* Test class using the trait.
*/
class TestClass { use LayoutEntityHelperTrait
{ getInlineBlockComponents
as public;
getInlineBlockRevisionIdsInSections
as public;
}