You are here

public static function PHPUnit_Framework_TestCase::onConsecutiveCalls in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestCase.php \PHPUnit_Framework_TestCase::onConsecutiveCalls()

@since Method available since Release 3.0.0

Parameters

mixed $value, ...:

Return value

PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls

4 calls to PHPUnit_Framework_TestCase::onConsecutiveCalls()
Framework_MockObjectTest::testStubbedReturnOnConsecutiveCalls in vendor/phpunit/phpunit-mock-objects/tests/MockObjectTest.php
PHP_CodeCoverage_TestCase::getCoverageForBankAccount in vendor/phpunit/php-code-coverage/tests/TestCase.php
PHP_CodeCoverage_TestCase::getCoverageForBankAccountForFirstTwoTests in vendor/phpunit/php-code-coverage/tests/TestCase.php
PHP_CodeCoverage_TestCase::getCoverageForBankAccountForLastTwoTests in vendor/phpunit/php-code-coverage/tests/TestCase.php

File

vendor/phpunit/phpunit/src/Framework/TestCase.php, line 1691

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public static function onConsecutiveCalls() {
  $args = func_get_args();
  return new PHPUnit_Framework_MockObject_Stub_ConsecutiveCalls($args);
}