protected function assertSay($what, $totalTimes, $arguments = array()) { $semiHash = serialize(array($what, $arguments)); $this->expectedSay[$semiHash] = $totalTimes; return $this; }