PHP Class Neos\Flow\Tests\Unit\Persistence\Generic\SessionTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/flow-development-collection

Public Methods

Method Description
getCleanStateOfPropertyReturnsNullIfObjectWasNotReconstituted ( )
getCleanStateOfPropertyReturnsNullIfPropertyWasNotInObjectData ( )
getCleanStateOfPropertyReturnsPropertyData ( )
getIdentifierByObjectReturnsHashForObjectBeingAOPProxy ( ) Does it return the value object hash for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?
getIdentifierByObjectReturnsNullForUnknownObjectBeingAOPProxy ( ) Does it return NULL for an AOP proxy not being in the identity map and not having Persistence_Object_Identifier?
getIdentifierByObjectReturnsRegisteredUUIDForObject ( )
getIdentifierByObjectReturnsUUIDForKnownObject ( ) Does it return the UUID for an object know to the identity map?
getIdentifierByObjectReturnsUuidForObjectBeingAOPProxy ( ) Does it return the UUID for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?
getIdentifierByObjectReturnsValueOfPropertyTaggedWithId ( )
getObjectByIdentifierReturnsRegisteredObjectForUUID ( )
hasIdentifierReturnsTrueForRegisteredObject ( )
hasObjectReturnsTrueForRegisteredObject ( )
isDirtyAsksIsPropertyDirtyForChangedLiterals ( )
isDirtyReturnsFalseForCleanArrays ( )
isDirtyReturnsFalseForCleanNestedArrays ( )
isDirtyReturnsFalseForNullInBothCurrentAndCleanValue ( )
isDirtyReturnsFalseForUnactivatedLazyObjects ( )
isDirtyReturnsTrueForArraysWhoseContainedObjectsDiffer ( )
isDirtyReturnsTrueForArraysWithNewMembers ( )
isDirtyReturnsTrueForNestedArrayWhoseCountDiffers ( )
isDirtyReturnsTrueForSplObjectStorageWhoseContainedObjectsDiffer ( )
isDirtyReturnsTrueForTraversablesWhoseCountDiffers ( )
isDirtyReturnsTrueForUnregisteredReconstitutedEntities ( )
isSingleValuedPropertyDirtyWorksAsExpected ( $type, $current, $clean, $expected )
newObjectsAreConsideredDirty ( )
objectRegisteredWithRegisterReconstitutedEntityCanBeRetrievedWithGetReconstitutedEntities ( )
propertyData ( ) Returns tuples of the form for isSingleValuedPropertyDirty()
unregisterObjectRemovesRegisteredObject ( )
unregisterReconstitutedEntityRemovesObjectFromSession ( )

Method Details

getCleanStateOfPropertyReturnsNullIfObjectWasNotReconstituted() public method

getCleanStateOfPropertyReturnsNullIfPropertyWasNotInObjectData() public method

getCleanStateOfPropertyReturnsPropertyData() public method

getIdentifierByObjectReturnsHashForObjectBeingAOPProxy() public method

Does it return the value object hash for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?

getIdentifierByObjectReturnsNullForUnknownObjectBeingAOPProxy() public method

Does it return NULL for an AOP proxy not being in the identity map and not having Persistence_Object_Identifier?

getIdentifierByObjectReturnsRegisteredUUIDForObject() public method

getIdentifierByObjectReturnsUUIDForKnownObject() public method

Does it return the UUID for an object know to the identity map?

getIdentifierByObjectReturnsUuidForObjectBeingAOPProxy() public method

Does it return the UUID for an AOP proxy not being in the identity map but having Persistence_Object_Identifier?

getIdentifierByObjectReturnsValueOfPropertyTaggedWithId() public method

getObjectByIdentifierReturnsRegisteredObjectForUUID() public method

hasIdentifierReturnsTrueForRegisteredObject() public method

hasObjectReturnsTrueForRegisteredObject() public method

isDirtyAsksIsPropertyDirtyForChangedLiterals() public method

isDirtyReturnsFalseForCleanArrays() public method

isDirtyReturnsFalseForCleanNestedArrays() public method

isDirtyReturnsFalseForNullInBothCurrentAndCleanValue() public method

isDirtyReturnsFalseForUnactivatedLazyObjects() public method

isDirtyReturnsTrueForArraysWhoseContainedObjectsDiffer() public method

isDirtyReturnsTrueForArraysWithNewMembers() public method

isDirtyReturnsTrueForNestedArrayWhoseCountDiffers() public method

isDirtyReturnsTrueForSplObjectStorageWhoseContainedObjectsDiffer() public method

isDirtyReturnsTrueForTraversablesWhoseCountDiffers() public method

isDirtyReturnsTrueForUnregisteredReconstitutedEntities() public method

isSingleValuedPropertyDirtyWorksAsExpected() public method

public isSingleValuedPropertyDirtyWorksAsExpected ( $type, $current, $clean, $expected )

newObjectsAreConsideredDirty() public method

objectRegisteredWithRegisterReconstitutedEntityCanBeRetrievedWithGetReconstitutedEntities() public method

propertyData() public method

Returns tuples of the form for isSingleValuedPropertyDirty()
public propertyData ( )

unregisterObjectRemovesRegisteredObject() public method

unregisterReconstitutedEntityRemovesObjectFromSession() public method