PHP Class test\Doctrine\ODM\OrientDB\Integration\Mapper\Hydration\HydratorTest

Inheritance: extends Test\PhpUnit\TestCase
Show file Open project: doctrine/orientdb-odm

Protected Properties

Property Type Description
$hydrator

Public Methods

Method Description
setup ( )
testAJsonGetsConvertedToAnObject ( )
testAnAnnotatedPropertyNotPassedWithTheJSONIsNullByDefault ( )
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithAWrongClass ( )
testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithoutAClass ( )
testCongowOrientObjectsOfDifferentClassesCanBeMappedByASinglePopo ( )
testHidratedCollectionsContainPopo ( )
testHydratingNullableAttributes ( )
testNoRecordsIsLostWhenHydratingACollection ( )
testPropertiesCanHaveDifferentNamesInCongowOrientAndPopo ( )
testPropertiesGetsMappedInTheObjectOnlyIfAnnotated ( )

Method Details

setup() public method

public setup ( )

testAJsonGetsConvertedToAnObject() public method

testAnAnnotatedPropertyNotPassedWithTheJSONIsNullByDefault() public method

testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithAWrongClass() public method

testAnExceptionIsRaisedWhenAnObjectGetsPersistedWithoutAClass() public method

testCongowOrientObjectsOfDifferentClassesCanBeMappedByASinglePopo() public method

testHidratedCollectionsContainPopo() public method

testHydratingNullableAttributes() public method

testNoRecordsIsLostWhenHydratingACollection() public method

testPropertiesCanHaveDifferentNamesInCongowOrientAndPopo() public method

testPropertiesGetsMappedInTheObjectOnlyIfAnnotated() public method

Property Details

$hydrator protected property

protected $hydrator