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