public function testExport() { $this->expectException(\Exception::class); $this->expectExceptionMessage('Unable to export statically'); ReflectionPropertyAdapter::export('foo', 0); }