getAllParameters(); $versionParameter = $allParameters->get('version'); $this->assertInstanceOf(VersionParameter::class, $versionParameter); $this->assertEquals($versionParameter, $parameterFactory->getParameter('version')); } public function testGetParameter(): void { $parameterFactory = new ParameterFactory(); $versionParameter = $parameterFactory->getParameter('version'); $this->assertInstanceOf(VersionParameter::class, $versionParameter); $this->assertEquals($versionParameter, $parameterFactory->getParameter('version')); $this->expectException(NotImplementedCoreException::class); $versionParameter = $parameterFactory->getParameter('blabalbal'); } }