Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
phpmock
AbstractMockTest
mockFunction
phpmock\AbstractMockTest::mockFunction PHP 메소드
AbstractMockTest 1 문서
파일 보기
프로젝트 열기: php-mock/php-mock
mockFunction()
추상적인
보호된
메소드
Builds an enabled function mock.
abstract
protected
mockFunction
(
string
$namespace
,
string
$functionName
,
callable
$function
)
$namespace
string
The namespace.
$functionName
string
The function name.
$function
callable
The function mock.
protected abstract function mockFunction($namespace, $functionName, callable $function);
AbstractMockTest
buildPrivateFunctionName
defineFunction
disableMocks
escapeshellcmd
mockFunction
provideTestBackupStaticAttributes
tearDown
testBackupStaticAttributes
testCVariadic
testCVariadicReset
testDisable
testDisableSetup
testExplicitDefine
testFailEnable
testImplicitDefine
testMockFunctionWithParameters
testMockFunctionWithoutParameters
testPassingByReference
testPassingByValue
testPreserveArgumentDefaultValue
testRedefine
testResetToDefaultArgumentOfOriginalFunction
testRunInSeparateProcess
testUndefinedFunction