public function testFunctionIsWrapped() { $fn = suppress_error('substr'); $this->assertSame('f', $fn('foo', 0, 1)); }