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