Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sokil
Mongo
DocumentTest
tearDown
Sokil\Mongo\DocumentTest::tearDown PHP Method
DocumentTest Class Documentation
Show file
Open project: sokil/php-mongo
tearDown()
public
method
public
tearDown
( )
public function tearDown() { $this->collection->delete(); }
DocumentTest
setUp
tearDown
testAddToSet_NoKey
testAddToSet_ScalarKey
testAppend
testBitwiceAnd
testBitwiceOr
testBitwiceXor
testCreateDocumentFromArray
testCreateReference
testDecrement
testDefaultFields
testDefineId_AsMongoIdClass
testDefineId_AsStringThatCanBeMongoIdClass
testDefineId_AsVarchar
testDeprecatedSchema
testEmptyField
testFromArray
testGetNull
testGetOriginalData
testGetRelatedDocument
testGetRelatedDocumentList
testIncrementExistedKeyOfSavedDocument
testIncrementExistedKeyOfUnsavedDocument
testIncrementNotExistedKeyOfSavedDocument
testIncrementNotExistedKeyOfUnsavedDocument
testIsStored
testIsStoredWhenIdSet
testJsonSerializable
testMerge
testMergeOnUpdate
testPullFromOneDimensionalArray
testPullFromThreeDimensionalArray
testPullFromThreeDimensionalUsingExpression
testPullFromThreeDimensionalUsingExpressionInValue
testPullFromTwoDimensionalArray
testPushEach_OnSavedDocument
testPushEach_OnUnsavedDocument
testRedefineDefaultFieldsInConstructor
testReload
testReset
testSave_SaveNotRequired
testSave_UpdateError
testSetArrayToScalarOnExistedDoc
testSetArrayToScalarOnNewDoc
testSetDate
testSetId_AsMongoIdClass
testSetId_AsStringThatCanBeMongoIdClass
testSetId_AsVarchar
testSetMongoCode
testSetMongoRegex
testSetObject
testSetScenario
testSetStructure_NewDocument
testSetStructure_StoredDocument
testSet_ExistedKey_StoredDocument
testSet_ExistedScalarSubkeyOfExistedArrayKey_StoredDocument
testSet_NewDocument
testSet_NewKey_StoredDocument
testSet_NewScalarSubkeyOfExistedArrayKey_StoredDocument
testSet_NewScalarSubkeyOfExistedScalarKey_StoredDocument
testSet_SubkeyOfNewKey_StoredDocument
testSet_SubkeyOverwrite_NewDocument
testSet_SubkeyOverwrite_StoredDocument
testToString
testUnhandledMethodCall
testUnsetAndSet
testUnsetField_ExistedDocument
testUnsetField_NewDocument
testUnsetInExistedDocument
testUnsetInNewDocument
testUnsetUnexistedField
testVirtualGetter
testVirtualSetter