PHP Class Doctrine\Tests\ODM\PHPCR\UnitOfWorkTest

Inheritance: extends PHPCRTestCase
Show file Open project: doctrine/phpcr-odm

Public Methods

Method Description
setUp ( )
testComputeSingleDocumentChangeSetForRemovedDocument ( )
testGetDocumentById ( )
testGetOrCreateDocument ( )
testGetOrCreateDocumentUsingIdentityMap ( )
testRegisterDocumentForVersion ( )
testScheduleInsertCancelsScheduleRemove ( )
testScheduleInsertion ( )
testUuid ( )

Protected Methods

Method Description
createNode ( $id, $username, $primaryType = 'rep:root' )

Method Details

createNode() protected method

protected createNode ( $id, $username, $primaryType = 'rep:root' )

setUp() public method

public setUp ( )

testComputeSingleDocumentChangeSetForRemovedDocument() public method

See also: https://github.com/doctrine/phpcr-odm/issues/637

testGetDocumentById() public method

public testGetDocumentById ( )

testGetOrCreateDocument() public method

testGetOrCreateDocumentUsingIdentityMap() public method

testRegisterDocumentForVersion() public method

Author: Rob Graham Test the registering of a version of a document, state should be set to STATE_FROZEN

testScheduleInsertCancelsScheduleRemove() public method

testScheduleInsertion() public method

testUuid() public method

public testUuid ( )