PHP Class Mongolid\DataMapper\SchemaMapperTest

Inheritance: extends TestCas\TestCase
Datei anzeigen Open project: leroy-merlin-br/mongolid

Public Methods

Method Description
tearDown ( )
testShouldClearDynamicFieldsIfSchemaIsNotDynamic ( )
testShouldGetAttributesWhenGetAttributesMethodIsAvailable ( )
testShouldMapAnArrayValueToAnotherSchemaSchema ( )
testShouldMapToFieldsOfSchema ( )
testShouldNotClearDynamicFieldsIfSchemaIsDynamic ( )
testShouldParseFieldIntoAnotherMappedSchemaIfTypeBeginsWithSchema ( )
testShouldParseFieldIntoCastableType ( )
testShouldParseFieldUsingAMethodInSchemaIfTypeIsAnUnknowString ( )
testShouldParseToArrayGettingObjectAttributes ( )
testShouldParseToArrayIfIsAnArray ( )

Method Details

tearDown() public method

public tearDown ( )

testShouldClearDynamicFieldsIfSchemaIsNotDynamic() public method

testShouldGetAttributesWhenGetAttributesMethodIsAvailable() public method

testShouldMapAnArrayValueToAnotherSchemaSchema() public method

testShouldMapToFieldsOfSchema() public method

testShouldNotClearDynamicFieldsIfSchemaIsDynamic() public method

testShouldParseFieldIntoAnotherMappedSchemaIfTypeBeginsWithSchema() public method

testShouldParseFieldIntoCastableType() public method

testShouldParseFieldUsingAMethodInSchemaIfTypeIsAnUnknowString() public method

testShouldParseToArrayGettingObjectAttributes() public method

testShouldParseToArrayIfIsAnArray() public method