Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
TestCase.php
»
PHPUnit_Framework_TestCase
»
PHPUnit_Framework_TestCase::getMock
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
36 calls to PHPUnit_Framework_TestCase::getMock()
Framework_MockObjectTest::testClonedMockObjectCanBeUsedInPlaceOfOriginalOne
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testClonedMockObjectIsNotIdenticalToOriginalOne
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testClonedMockObjectShouldStillEqualTheOriginal
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testFunctionCallback
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testGetMockForAbstractClass
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockClassDifferentForPartialMocks
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockClassOnlyGeneratedOnce
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockClassStoreOverrulable
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsCalledAtLeastOnce
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsCalledAtLeastOnce2
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsCalledExactly
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsCalledOnce
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsCalledOnceWithParameter
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsNeverCalled
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockedMethodIsNotCalledWhenExpectsAnyWithParameter
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockObjectsConstructedIndepentantlyShouldBeEqual
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testMockObjectsConstructedIndepentantlyShouldNotBeTheSame
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testOriginalCloneSettingConsidered
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testOriginalConstructorSettingConsidered
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testPublicMethodCallback
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testStaticMethodCallback
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testStubbedException
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testStubbedReturnValue
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testStubbedReturnValueMap
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testVerificationOfMethodNameFailsWithoutParameters
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testVerificationOfMethodNameFailsWithParameters
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testVerificationOfNeverFailsWithAnyParameters
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
Framework_MockObjectTest::testVerificationOfNeverFailsWithEmptyParameters
in drupal/
core/
vendor/
phpunit/
phpunit-mock-objects/
Tests/
MockObjectTest.php
PHPUnit_Framework_TestCase::getMockClass
in drupal/
core/
vendor/
phpunit/
phpunit/
PHPUnit/
Framework/
TestCase.php
Mocks the specified class and returns the name of the mocked class.
PHPUnit_Framework_TestCase::getMockFromWsdl
in drupal/
core/
vendor/
phpunit/
phpunit/
PHPUnit/
Framework/
TestCase.php
Returns a mock object based on the given WSDL file.
PHP_CodeCoverageTest::testMerge2
in drupal/
core/
vendor/
phpunit/
php-code-coverage/
Tests/
PHP/
CodeCoverageTest.php
@covers PHP_CodeCoverage::getData @covers PHP_CodeCoverage::merge
PHP_CodeCoverage_TestCase::getCoverageForBankAccount
in drupal/
core/
vendor/
phpunit/
php-code-coverage/
Tests/
TestCase.php
PHP_CodeCoverage_TestCase::getCoverageForBankAccountForFirstTwoTests
in drupal/
core/
vendor/
phpunit/
php-code-coverage/
Tests/
TestCase.php
PHP_CodeCoverage_TestCase::getCoverageForBankAccountForLastTwoTests
in drupal/
core/
vendor/
phpunit/
php-code-coverage/
Tests/
TestCase.php
PHP_CodeCoverage_TestCase::setUpXdebugStubForFileWithIgnoredLines
in drupal/
core/
vendor/
phpunit/
php-code-coverage/
Tests/
TestCase.php
Twig_Tests_ParserTest::testSetMacroThrowsExceptionOnReservedMethods
in drupal/
core/
vendor/
twig/
twig/
test/
Twig/
Tests/
ParserTest.php
@expectedException Twig_Error_Syntax