public function testSetStaticPropertyValue() { try { parent::testSetStaticPropertyValue(); } catch (ReflectionException $e) { self::assertEquals('Method setStaticPropertyValue() is not supported', $e->getMessage()); $this->expected['SomeClass']->setStaticPropertyValue('staticProperty', 'StaticValue'); } }