Dotink\Parody\Mime::expect PHP Method

expect() public method

Tell an open method what to expect
public expect ( ) : Mime
return Mime The mime for method chaining
    public function expect()
    {
        if (!$this->openMethod) {
            throw new \Exception(sprintf('Cannot set argument expectations without first opening a call'));
        }
        $this->expectation = func_get_args();
        return $this;
    }