PHP Class Mongolid\DataMapper\SchemaMapperTest

Inheritance: extends TestCas\TestCase
Afficher le fichier Open project: leroy-merlin-br/mongolid

Méthodes publiques

Méthode Description
tearDown ( )
testShouldClearDynamicFieldsIfSchemaIsNotDynamic ( )
testShouldGetAttributesWhenGetAttributesMethodIsAvailable ( )
testShouldMapAnArrayValueToAnotherSchemaSchema ( )
testShouldMapToFieldsOfSchema ( )
testShouldNotClearDynamicFieldsIfSchemaIsDynamic ( )
testShouldParseFieldIntoAnotherMappedSchemaIfTypeBeginsWithSchema ( )
testShouldParseFieldIntoCastableType ( )
testShouldParseFieldUsingAMethodInSchemaIfTypeIsAnUnknowString ( )
testShouldParseToArrayGettingObjectAttributes ( )
testShouldParseToArrayIfIsAnArray ( )

Method Details

tearDown() public méthode

public tearDown ( )

testShouldClearDynamicFieldsIfSchemaIsNotDynamic() public méthode

testShouldGetAttributesWhenGetAttributesMethodIsAvailable() public méthode

testShouldMapAnArrayValueToAnotherSchemaSchema() public méthode

testShouldMapToFieldsOfSchema() public méthode

testShouldNotClearDynamicFieldsIfSchemaIsDynamic() public méthode

testShouldParseFieldIntoAnotherMappedSchemaIfTypeBeginsWithSchema() public méthode

testShouldParseFieldIntoCastableType() public méthode

testShouldParseFieldUsingAMethodInSchemaIfTypeIsAnUnknowString() public méthode

testShouldParseToArrayGettingObjectAttributes() public méthode

testShouldParseToArrayIfIsAnArray() public méthode