public static function PHPUnit_Framework_TestCase::returnValueMap in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::returnValueMap()
@since Method available since Release 3.6.0
Parameters
array $valueMap:
Return value
PHPUnit_Framework_MockObject_Stub_ReturnValueMap
1 call to PHPUnit_Framework_TestCase::returnValueMap()
- Framework_MockObjectTest::testStubbedReturnValueMap in vendor/
phpunit/ phpunit-mock-objects/ tests/ MockObjectTest.php
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestCase.php, line 1636
Class
- PHPUnit_Framework_TestCase
- A TestCase defines the fixture to run multiple tests.
Code
public static function returnValueMap(array $valueMap) {
return new PHPUnit_Framework_MockObject_Stub_ReturnValueMap($valueMap);
}