src/PAGI/Node/MockedNode.php
protected function assertSay($what, $totalTimes, $arguments = array())
    {
        $semiHash = serialize(array($what, $arguments));
        $this->expectedSay[$semiHash] = $totalTimes;
        return $this;
    }
protected function assertSay($what, $totalTimes, $arguments = array())
    {
        $semiHash = serialize(array($what, $arguments));
        $this->expectedSay[$semiHash] = $totalTimes;
        return $this;
    }
protected function assertSay ( $ what , $ totalTimes , $ arguments = array ( ) ) { $ semiHash = serialize ( array ( $ what , $ arguments ) ) ; $ this -> expectedSay [ $ semiHash ] = $ totalTimes ; return $ this ; }
Generic method to expect prompt messages played.

@param string $what The pagi method name to expect.
@param integer $totalTimes Total times to expect this call
@param string[] $arguments The arguments to assert.

@return MockedNode
Generic method to expect prompt messages played .