/** {@inheritdoc} */ public function call($methodName, array $arguments = []) { $startTime = microtime(true); $result = parent::call($methodName, $arguments); $this->timer->recordTiming(microtime(true) - $startTime, $methodName, $arguments); return $result; }
public function testMulticallMethodWrapped() { $this->wrapped->expects($this->once())->method('multicall')->will($this->returnValue('m')); $this->assertSame('m', $this->decorator->multicall()); }