protected function setUp() : void {
parent::setUp();
$this->entityTypeBundleInfo = $this
->createMock(EntityTypeBundleInfo::class);
$bundles = [
'paragraph_bundle_one' => [],
'paragraph_bundle_two' => [],
'field_collection_bundle_one' => [],
'field_collection_bundle_two' => [],
'prexisting_bundle_one' => [],
'prexisting_bundle_two' => [],
];
$this->entityTypeBundleInfo
->expects($this
->any())
->method('getBundleInfo')
->with('paragraph')
->willReturn($bundles);
}