public function testCreateFromNameThrowsException() { $this->expectException(\LogicException::class); ReflectionObject::createFromName('foo'); }