requestedEntityService = self::$container->get(RequestedEntityServiceInterface::class); } public function testClassAccessors(): void { $class = AbstractSource::class; $this->assertNull($this->requestedEntityService->setClass($class)); $this->assertEquals($class, $this->requestedEntityService->getClass()); } }