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
Filesystem
FilesystemTest
prevent
Kraken\_Unit\Filesystem\FilesystemTest::prevent PHP Метод
Документация по классу FilesystemTest
Показать файл
Открыть проект
prevent()
публичный
Метод
public
prevent
(
$method
,
$args
= [] ) :
Prophecy\Prophecy\MethodProphecy
Результат
Prophecy\Prophecy\MethodProphecy
public function prevent($method, $args = []) { return $this->expect($method, $args, 0); }
FilesystemTest
createFilesystem
expect
prepareConfig
prevent
setUp
testApiAppend_CallsUpdateOnModel_WithExistingContents
testApiAppend_ThrowsException_WhenReadThrowsException
testApiAppend_ThrowsException_WhenUpdateThrowsException
testApiCopyFile_CallsCopyOnModel
testApiCopyFile_ThrowsException_WhenModelThrowsException
testApiCreateFile_CallsWriteOnModel_WithConfig
testApiCreateFile_ThrowsException_WhenLegueWriteThrowsException
testApiCreate_CallsWriteOnModel_WithConfig
testApiCreate_ThrowsException_WhenLegueWriteThrowsException
testApiEraseFile_CallsUpdateOnModel
testApiEraseFile_ThrowsException_WhenUpdateOnModelThrowsException
testApiExists_ReturnsFalse_WhenModelHasReturnsFalse
testApiExists_ReturnsTrue_WhenModelHasReturnsTrue
testApiExists_ThrowsException_WhenModelHasThrowsException
testApiGetMimetype_ReturnsMimetype_UsingGetMetadataOnModel
testApiGetMimetype_ThrowsException_WhenGetMetadataOnModelThrowsException
testApiGetSize_CallsGetSizeOnModel
testApiGetSize_ThrowsException_WhenGetSizeOnModelThrowsException
testApiGetTimestamp_ReturnsMimetype_UsingGetMetadataOnModel
testApiGetTimestamp_ThrowsException_WhenGetMetadataOnModelThrowsException
testApiGetType_ReturnsType_UsingGetMetadataOnModel
testApiGetType_ThrowsException_WhenGetMetadataOnModelThrowsException
testApiGetVisibility_ReturnsSameValue_AsModelGetVisibility
testApiGetVisibility_ThrowsException_WhenModelThrowsException
testApiIsDir_ReturnsFalse_WhenModelDoesNotReturnMetadataForDir
testApiIsDir_ReturnsTrue_WhenModelReturnsMetadataForDir
testApiIsDir_ThrowsException_WhenModelThrowsException
testApiIsFile_ReturnsFalse_WhenModelDoesNotReturnMetadataForFile
testApiIsFile_ReturnsTrue_WhenModelReturnsMetadataForFile
testApiIsFile_ThrowsException_WhenModelThrowsException
testApiIsPrivate_RethrowsException
testApiIsPrivate_ReturnsFalse_WhenVisibilityIsNotPrivate
testApiIsPrivate_ReturnsTrue_WhenVisibilityIsPrivate
testApiIsPublic_RethrowsException
testApiIsPublic_ReturnsFalse_WhenVisibilityIsNotPublic
testApiIsPublic_ReturnsTrue_WhenVisibilityIsPublic
testApiMove_ReturnsNull_WhenModelMoveReturnsTrue
testApiMove_ThrowsException_WhenModelMoveReturnsFalse
testApiMove_ThrowsException_WhenModelMoveThrowsException
testApiPrepend_CallsUpdateOnModel_WithExistingContents
testApiPrepend_ThrowsException_WhenReadThrowsException
testApiPrepend_ThrowsException_WhenUpdateThrowsException
testApiRead_ReturnsReadString_WhenReadWasSuccessful
testApiRead_ThrowsException_WhenModelReadThrowsException
testApiRead_ThrowsException_WhenReadWasNotSuccessful
testApiRemoveFile_CallsDeleteOnModel
testApiRemoveFile_ThrowsException_WhenDeleteOnModelThrowsException
testApiReq_ThrowsException_WhenModelReadThrowsException
testApiReq_UsesEvalToIncludePhpFilesFromExternalSources
testApiSetPrivate_SetsPrivate_WhenSettingIsPossible
testApiSetPrivate_ThrowsException_WhenModelThrows
testApiSetPrivate_ThrowsException_WhenSettingIsNotPossible
testApiSetPublic_SetsPublic_WhenSettingIsPossible
testApiSetPublic_ThrowsException_WhenModelThrows
testApiSetPublic_ThrowsException_WhenSettingIsNotPossible
testApiSetVisibility_SetsVisibility_WhenSettingIsPossible
testApiSetVisibility_ThrowsException_WhenModelThrows
testApiSetVisibility_ThrowsException_WhenSettingIsNotPossible
testApiWrite_CallsPutOnModel_WithConfig
testApiWrite_ThrowsException_WhenModelPutThrowsException