userSource = new UserSource(); } public function testConstructor():void { $this->assertInstanceOf(Collection::class, $this->userSource->getMemberships()); $this->assertInstanceOf(NameSourceInterface::class, $this->userSource->getNameSource()); } }