public function testGettingNewCollection() { $collection = new TestCollection(); $this->assertInstanceOf(TestCollection::class, $collection->getNewCollection()); $collection = new Collection(); $this->assertInstanceOf(Collection::class, $collection->getNewCollection()); }