PHP 클래스 Mongolid\Serializer\Type\ObjectIDTest

상속: extends TestCas\TestCase
파일 보기 프로젝트 열기: leroy-merlin-br/mongolid

보호된 프로퍼티들

프로퍼티 타입 설명
$mongoId MongoDB\BSON\ObjectID
$stringId string

공개 메소드들

메소드 설명
setUp ( )
tearDown ( )
testConstructorShouldCastMongodbObjectIdToString ( )
testConstructorShouldThrowExceptionWithInvalidStrings ( )
testConvertShouldRetrieveMongodbObjectId ( )
testObjectIdShouldBeSerializable ( )
testShouldBeCastableToString ( )
testShouldProperlyEncodeToJson ( )
testUnserializeShouldKeepStringId ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

tearDown() 공개 메소드

public tearDown ( )

testConstructorShouldCastMongodbObjectIdToString() 공개 메소드

testConstructorShouldThrowExceptionWithInvalidStrings() 공개 메소드

testConvertShouldRetrieveMongodbObjectId() 공개 메소드

testObjectIdShouldBeSerializable() 공개 메소드

testShouldBeCastableToString() 공개 메소드

testShouldProperlyEncodeToJson() 공개 메소드

testUnserializeShouldKeepStringId() 공개 메소드

프로퍼티 상세

$mongoId 보호되어 있는 프로퍼티

protected ObjectID,MongoDB\BSON $mongoId
리턴 MongoDB\BSON\ObjectID

$stringId 보호되어 있는 프로퍼티

protected string $stringId
리턴 string