collectionSource = new class() extends AbstractCollectionSource { }; } public function testConstruct(): void { $this->assertInstanceOf(Collection::class, $this->collectionSource->getCollection()); } }