Kraken\_Unit\Filesystem\FilesystemTest::expect PHP Method

expect() public method

public expect ( $method, $args = [], $times = 1 ) : Prophecy\Prophecy\MethodProphecy
return Prophecy\Prophecy\MethodProphecy
    public function expect($method, $args = [], $times = 1)
    {
        $mock = call_user_func_array([$this->prophecy, $method], $args);
        return $mock->shouldBeCalledTimes($times);
    }
FilesystemTest