PHP Class FileRepositoryTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: everzet/persisted-objects

Public Methods

Method Description
shouldBeAbleToClearRepository ( )
shouldBeAbleToGetAllObjects ( )
shouldBeAbleToRemoveObject ( )
shouldBeAbleToSaveAndRetrieveObjectLater ( )
shouldBeAbleToSaveAndRetrieveObjectsWithIDAsVO ( )
shouldDoNothingWhenAskedToRemoveUnstoredObject ( )
shouldOverrideObjectsWithTheSameId ( )
shouldPersistObjectsBetweenInstances ( )
shouldThrowAnExceptionIfUnexpectedObjectGiven ( )

Protected Methods

Method Description
setUp ( )
tearDown ( )

Private Methods

Method Description
createRepository ( )

Method Details

setUp() protected method

protected setUp ( )

shouldBeAbleToClearRepository() public method

shouldBeAbleToGetAllObjects() public method

shouldBeAbleToRemoveObject() public method

shouldBeAbleToSaveAndRetrieveObjectLater() public method

shouldBeAbleToSaveAndRetrieveObjectsWithIDAsVO() public method

shouldDoNothingWhenAskedToRemoveUnstoredObject() public method

shouldOverrideObjectsWithTheSameId() public method

shouldPersistObjectsBetweenInstances() public method

shouldThrowAnExceptionIfUnexpectedObjectGiven() public method

tearDown() protected method

protected tearDown ( )