Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MockObjectInternal.php

interface MockObjectInternal

@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

@internal This interface is not covered by the backward compatibility promise for PHPUnit

Hierarchy

  • interface \PHPUnit\Framework\MockObject\MockObject extends \PHPUnit\Framework\MockObject\Stub; interface \PHPUnit\Framework\MockObject\StubInternal extends \PHPUnit\Framework\MockObject\Stub
    • interface \PHPUnit\Framework\MockObject\MockObjectInternal extends \PHPUnit\Framework\MockObject\MockObject \PHPUnit\Framework\MockObject\StubInternal

Expanded class hierarchy of MockObjectInternal

All classes that implement MockObjectInternal

2 files declare their use of MockObjectInternal
Generator.php in vendor/phpunit/phpunit/src/Framework/MockObject/Generator/Generator.php
TestCase.php in vendor/phpunit/phpunit/src/Framework/TestCase.php

File

vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Interface/MockObjectInternal.php, line 17

Namespace

PHPUnit\Framework\MockObject
View source
interface MockObjectInternal extends MockObject, StubInternal {
    public function __phpunit_hasMatchers() : bool;
    public function __phpunit_setOriginalObject(object $originalObject) : void;
    public function __phpunit_verify(bool $unsetInvocationMocker = true) : void;

}

Members

Title Sort descending Modifiers Object type Summary
MockObject::expects public function
MockObjectInternal::__phpunit_hasMatchers public function
MockObjectInternal::__phpunit_setOriginalObject public function
MockObjectInternal::__phpunit_verify public function
StubInternal::__phpunit_getInvocationHandler public function
StubInternal::__phpunit_initConfigurableMethods public static function
StubInternal::__phpunit_setReturnValueGeneration public function
StubInternal::__phpunit_unsetInvocationMocker public function

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal