Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
phpmock
AbstractMockTest
defineFunction
phpmock\AbstractMockTest::defineFunction PHP Method
AbstractMockTest Class Documentation
Mostra file
Open project: php-mock/php-mock
defineFunction()
abstract
protected
method
Defines the function mock.
abstract
protected
defineFunction
(
string
$namespace
,
string
$functionName
)
$namespace
string
The namespace.
$functionName
string
The function name.
protected abstract function defineFunction($namespace, $functionName);
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