public static function PHPUnit_Framework_TestCase::returnArgument

@since Method available since Release 3.3.0

Parameters

integer $argumentIndex:

Return value

PHPUnit_Framework_MockObject_Stub_ReturnArgument

File

drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestCase.php, line 1597

Class

PHPUnit_Framework_TestCase
A TestCase defines the fixture to run multiple tests.

Code

public static function returnArgument($argumentIndex) {
  return new PHPUnit_Framework_MockObject_Stub_ReturnArgument($argumentIndex);
}