Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Kraken
_Unit
Loop
LoopTest
prevent
Kraken\_Unit\Loop\LoopTest::prevent PHP Метод
Документация по классу LoopTest
Показать файл
Открыть проект
prevent()
публичный
Метод
public
prevent
(
string
$method
,
mixed[] |
null
$args
= [] ) :
Prophecy\Prophecy\MethodProphecy
$method
string
$args
mixed[] |
null
Результат
Prophecy\Prophecy\MethodProphecy
public function prevent($method, $args = []) { return $this->expect($method, $args, 0); }
LoopTest
createLoop
createStreamMock
createTimerMock
expect
prevent
setUp
tearDown
testApiAddPeriodicTimer_CallsMethodOnModel
testApiAddReadStream_CallsMethodOnModel
testApiAddTimer_CallsMethodOnModel
testApiAddWriteStream_CallsMethodOnModel
testApiCancelTimer_CallsMethodOnModel
testApiConstructor_DoesNotThrowException
testApiDestructor_DoesNotThrowException
testApiErase_CallsMethodOnModel
testApiErase_CallsMethodOnModel_WithDefaultParams
testApiErase_ReturnsCaller
testApiExport_CallsMethodOnModel
testApiExport_CallsMethodOnModel_WithDefaultParams
testApiExport_ReturnsCaller
testApiGetFlowController_CallsMethodOnModel
testApiGetModel_ReturnsModel
testApiImport_CallsMethodOnModel
testApiImport_CallsMethodOnModel_WithDefaultParams
testApiImport_ReturnsCaller
testApiIsRunning_CallsMethodOnModel
testApiIsTimerActive_CallsMethodOnModel
testApiOnAfterTick_CallsMethodOnModel
testApiOnBeforeTick_CallsMethodOnModel
testApiOnStart_CallsMethodOnModel
testApiOnStop_CallsMethodOnModel
testApiOnTick_CallsMethodOnModel
testApiRemoveReadStream_CallsMethodOnModel
testApiRemoveStream_CallsMethodOnModel
testApiRemoveWriteStream_CallsMethodOnModel
testApiSetFlowController_CallsMethodOnModel
testApiStart_CallsMethodOnModel
testApiStop_CallsMethodOnModel
testApiSwap_CallsMethodOnModel
testApiSwap_CallsMethodOnModel_WithDefaultParams
testApiSwap_ReturnsCaller
testApiTick_CallsMethodOnModel