Eloquent\Phony\Mock\Handle\AbstractHandle::checkNoInteraction PHP Метод

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

Checks if there was no interaction with the mock.
public checkNoInteraction ( ) : Eloquent\Phony\Event\EventCollection | null
Результат Eloquent\Phony\Event\EventCollection | null The result.
    public function checkNoInteraction()
    {
        foreach (get_object_vars($this->state->stubs) as $stub) {
            if ($stub->checkCalled()) {
                return;
            }
        }
        return $this->assertionRecorder->createSuccess();
    }