Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Mongolid
ActiveRecordTest
tearDown
Mongolid\ActiveRecordTest::tearDown PHP Method
ActiveRecordTest Class Documentation
Datei anzeigen
Open project: leroy-merlin-br/mongolid
tearDown()
public
method
public
tearDown
( )
public function tearDown() { parent::tearDown(); m::close(); unset($this->entity); }
ActiveRecordTest
setUp
tearDown
testDeleteShouldReturnFalseIfCollectionIsNull
testInsertShouldReturnFalseIfCollectionIsNull
testSaveShouldReturnFalseIfCollectionIsNull
testShouldAttachToAttribute
testShouldDelete
testShouldEmbedToAttribute
testShouldGetAll
testShouldGetCollectionName
testShouldGetDataMapper
testShouldGetFirstOrFail
testShouldGetFirstOrNewAndReturnExistingModel
testShouldGetFirstOrNewAndReturnNewModel
testShouldGetFirstWithQuery
testShouldGetSchemaIfFieldsDescribesSchemaFields
testShouldGetSchemaIfFieldsIsTheClassName
testShouldGetSetWriteConcernInActiveRecordClass
testShouldGetWithWhereQuery
testShouldHaveCorrectPropertiesByDefault
testShouldImplementModelTraits
testShouldInsert
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallAllFunction
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallFirstFunction
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallWhereFunction
testShouldSave
testShouldThrowBadMethodCallExceptionWhenCallingInvalidMethod
testShouldUpdate
testUpdateShouldReturnFalseIfCollectionIsNull