Kraken\_Unit\Log\Handler\HandlerTest::expect PHP Метод

expect() публичный Метод

public expect ( string $method, mixed[] $args = null, integer $times = 1 ) : Prophecy\Prophecy\MethodProphecy
$method string
$args mixed[]
$times integer
Результат Prophecy\Prophecy\MethodProphecy
    public function expect($method, $args = null, $times = 1)
    {
        $args = $args === null ? [Argument::cetera()] : $args;
        $mock = call_user_func_array([$this->prophecy, $method], $args);
        return $mock->shouldBeCalledTimes($times);
    }