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
PHP 클래스 Mongolid\ActiveRecordTest
상속:
extends
TestCas\TestCase
파일 보기
프로젝트 열기: leroy-merlin-br/mongolid
보호된 프로퍼티들
프로퍼티
타입
설명
$entity
ActiveRecord
공개 메소드들
메소드
설명
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
( )
메소드 상세
setUp()
공개
메소드
public
setUp
( )
tearDown()
공개
메소드
public
tearDown
( )
testDeleteShouldReturnFalseIfCollectionIsNull()
공개
메소드
public
testDeleteShouldReturnFalseIfCollectionIsNull
( )
testInsertShouldReturnFalseIfCollectionIsNull()
공개
메소드
public
testInsertShouldReturnFalseIfCollectionIsNull
( )
testSaveShouldReturnFalseIfCollectionIsNull()
공개
메소드
public
testSaveShouldReturnFalseIfCollectionIsNull
( )
testShouldAttachToAttribute()
공개
메소드
public
testShouldAttachToAttribute
( )
testShouldDelete()
공개
메소드
public
testShouldDelete
( )
testShouldEmbedToAttribute()
공개
메소드
public
testShouldEmbedToAttribute
( )
testShouldGetAll()
공개
메소드
public
testShouldGetAll
( )
testShouldGetCollectionName()
공개
메소드
public
testShouldGetCollectionName
( )
testShouldGetDataMapper()
공개
메소드
public
testShouldGetDataMapper
( )
testShouldGetFirstOrFail()
공개
메소드
public
testShouldGetFirstOrFail
( )
testShouldGetFirstOrNewAndReturnExistingModel()
공개
메소드
public
testShouldGetFirstOrNewAndReturnExistingModel
( )
testShouldGetFirstOrNewAndReturnNewModel()
공개
메소드
public
testShouldGetFirstOrNewAndReturnNewModel
( )
testShouldGetFirstWithQuery()
공개
메소드
public
testShouldGetFirstWithQuery
( )
testShouldGetSchemaIfFieldsDescribesSchemaFields()
공개
메소드
public
testShouldGetSchemaIfFieldsDescribesSchemaFields
( )
testShouldGetSchemaIfFieldsIsTheClassName()
공개
메소드
public
testShouldGetSchemaIfFieldsIsTheClassName
( )
testShouldGetSetWriteConcernInActiveRecordClass()
공개
메소드
public
testShouldGetSetWriteConcernInActiveRecordClass
( )
testShouldGetWithWhereQuery()
공개
메소드
public
testShouldGetWithWhereQuery
( )
testShouldHaveCorrectPropertiesByDefault()
공개
메소드
public
testShouldHaveCorrectPropertiesByDefault
( )
testShouldImplementModelTraits()
공개
메소드
public
testShouldImplementModelTraits
( )
testShouldInsert()
공개
메소드
public
testShouldInsert
( )
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallAllFunction()
공개
메소드
public
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallAllFunction
( )
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallFirstFunction()
공개
메소드
public
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallFirstFunction
( )
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallWhereFunction()
공개
메소드
public
testShouldRaiseExceptionWhenHasNoCollectionAndTryToCallWhereFunction
( )
testShouldSave()
공개
메소드
public
testShouldSave
( )
testShouldThrowBadMethodCallExceptionWhenCallingInvalidMethod()
공개
메소드
public
testShouldThrowBadMethodCallExceptionWhenCallingInvalidMethod
( )
testShouldUpdate()
공개
메소드
public
testShouldUpdate
( )
testUpdateShouldReturnFalseIfCollectionIsNull()
공개
메소드
public
testUpdateShouldReturnFalseIfCollectionIsNull
( )
프로퍼티 상세
$entity
보호되어 있는 프로퍼티
protected
ActiveRecord,mongolid
$entity
리턴
ActiveRecord