PHPUnit_Framework_TestCase::getMock |
function |
drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php |
Returns a mock object for the specified class. |
ChainCacheClearerTest::getMockClearer |
function |
drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Tests/CacheClearer/ChainCacheClearerTest.php |
|
PHPUnit_Framework_TestCase::getMockClass |
function |
drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php |
Mocks the specified class and returns the name of the mocked class. |
PHPUnit_Framework_TestCase::getMockBuilder |
function |
drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php |
Returns a builder object to create mock objects using a fluent interface. |
PHPUnit_Framework_TestCase::getMockFromWsdl |
function |
drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php |
Returns a mock object based on the given WSDL file. |
ReverseProxySubscriberUnitTest::getMockedEvent |
function |
drupal/core/tests/Drupal/Tests/Core/EventSubscriber/ReverseProxySubscriberUnitTest.php |
Creates a mocked event. |
PHPUnit_Framework_MockObject_Generator::getMock |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator.php |
Returns a mock object for the specified class. |
PHPUnit_Framework_MockObject_MockBuilder::getMock |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/MockBuilder.php |
Creates a mock object using a fluent interface. |
PHPUnit_Framework_TestCase::getMockForAbstractClass |
function |
drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php |
Returns a mock object for the specified abstract class with all abstract
methods of the class mocked. Concrete methods to mock can be specified with
the last parameter |
Framework_MockObjectTest::testGetMockForAbstractClass |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/MockObjectTest.php |
|
Framework_MockObject_GeneratorTest::testGetMockGeneratorFails |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMock
@expectedException PHPUnit_Framework_Exception
@expectedExceptionMessage duplicates: "foo, foo" |
PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/Generator.php |
Returns a mock object for the specified abstract class with all abstract
methods of the class mocked. Concrete methods to mock can be specified with
the last parameter |
PHPUnit_Framework_MockObject_MockBuilder::getMockForAbstractClass |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/PHPUnit/Framework/MockObject/MockBuilder.php |
Creates a mock object for an abstract class using a fluent interface. |
Framework_MockObject_GeneratorTest::testGetMockCanCreateNonExistingFunctions |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMock |
Framework_MockObjectTest::testGetMockWithFixedClassNameCanProduceTheSameMockTwice |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/MockObjectTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMock |
Framework_MockObject_GeneratorTest::testGetMockForAbstractClassStubbingAbstractClass |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass |
Framework_MockObject_GeneratorTest::testGetMockForAbstractClassAnstractClassDoesNotExist |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass
@expectedException PHPUnit_Framework_Exception |
Framework_MockObject_GeneratorTest::testGetMockForAbstractClassDoesNotFailWhenFakingInterfaces |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass |
Framework_MockObject_GeneratorTest::testGetMockForAbstractClassExpectingInvalidArgumentException |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@dataProvider getMockForAbstractClassExpectsInvalidArgumentExceptionDataprovider
@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass
@expectedException PHPUnit_Framework_Exception |
Framework_MockObject_GeneratorTest::testGetMockFailsWhenInvalidFunctionNameIsPassedInAsAFunctionToMock |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
@covers PHPUnit_Framework_MockObject_Generator::getMock
@expectedException PHPUnit_Framework_Exception |
Framework_MockObject_GeneratorTest::getMockForAbstractClassExpectsInvalidArgumentExceptionDataprovider |
function |
drupal/core/vendor/phpunit/phpunit-mock-objects/Tests/GeneratorTest.php |
Dataprovider for test "testGetMockForAbstractClassExpectingInvalidArgumentException" |