assertEquals('view', $key); $viewParameter = new ViewParameter(); $this->assertEquals($key, $viewParameter::getKey()); } public function testAccessors(): void { $viewParameter = new ViewParameter(); foreach (ActionType::getValues() as $value) { $this->assertNull($viewParameter->setValue($value)); $this->assertEquals($value, $viewParameter->getValue()); } } }