Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Mongolid
Serializer
Type
ObjectIDTest
setUp
Mongolid\Serializer\Type\ObjectIDTest::setUp PHP Method
ObjectIDTest Class Documentation
Exibir arquivo
Open project: leroy-merlin-br/mongolid
setUp()
public
method
public
setUp
( )
public function setUp() { parent::setUp(); $this->mongoId = new MongoObjectID($this->stringId); }
ObjectIDTest
setUp
tearDown
testConstructorShouldCastMongodbObjectIdToString
testConstructorShouldThrowExceptionWithInvalidStrings
testConvertShouldRetrieveMongodbObjectId
testObjectIdShouldBeSerializable
testShouldBeCastableToString
testShouldProperlyEncodeToJson
testUnserializeShouldKeepStringId