Mockery\Expectation::verifyCall PHP 메소드

verifyCall() 공개 메소드

Verify the current call, i.e. that the given arguments match those of this expectation
public verifyCall ( array $args ) : mixed
$args array
리턴 mixed
    public function verifyCall(array $args)
    {
        $this->validateOrder();
        $this->_actualCount++;
        if (true === $this->_passthru) {
            return $this->_mock->mockery_callSubjectMethod($this->_name, $args);
        }
        $return = $this->_getReturnValue($args);
        if ($return instanceof \Exception && $this->_throw === true) {
            throw $return;
        }
        $this->_setValues();
        return $return;
    }