Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Mongolid
ActiveRecordTest
tearDown
Mongolid\ActiveRecordTest::tearDown PHP 메소드
ActiveRecordTest 1 문서
파일 보기
프로젝트 열기: leroy-merlin-br/mongolid
tearDown()
공개
메소드
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