PHP Class Medusa\Queue\PersistentQueueTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: keyvanakbary/medusa

Public Methods

Method Description
dequeOnEmptyShouldThrowException ( )
dequeueShouldNotAffectPreviousVersions ( )
dequeueShouldRemoveLastElement ( )
dequeueShouldRemoveMoreThanOneElement ( )
enqueueShouldAppendValue ( )
enqueueShouldNotAffectPreviousVersions ( )
itShouldCountNumberOfElements ( $values, $expectedCount )
lastInShouldBeFirstOut ( )
peekOnEmptyShouldThrowException ( )
provideQueuesWithExpectedCount ( )

Private Methods

Method Description
assertValues ( array $values, Medusa\Queue\Queue $queue )
createQueue ( array $values )
dequeueValues ( Medusa\Queue\Queue $queue )

Method Details

dequeOnEmptyShouldThrowException() public method

dequeueShouldNotAffectPreviousVersions() public method

dequeueShouldRemoveLastElement() public method

dequeueShouldRemoveMoreThanOneElement() public method

enqueueShouldAppendValue() public method

enqueueShouldNotAffectPreviousVersions() public method

itShouldCountNumberOfElements() public method

public itShouldCountNumberOfElements ( $values, $expectedCount )

lastInShouldBeFirstOut() public method

peekOnEmptyShouldThrowException() public method

provideQueuesWithExpectedCount() public method