public function logCall($method, array $arguments = array())
{
++$this->count;
if ($this->logCalls) {
$this->calls[] = array('method' => $method, 'arguments' => $arguments);
}
}
/** * @covers \eZ\Publish\Core\Persistence\Cache\PersistenceLogger::logCall */ public function testLogCall() { $this->assertNull($this->logger->logCall(__METHOD__)); $this->logger->logCall(__METHOD__); $this->logger->logCall(__METHOD__); $this->logger->logCall(__METHOD__, array(33)); return $this->logger; }