Method | Description | |
---|---|---|
firstInShouldBeFirstOut ( ) | ||
itShouldCountNumberOfElements ( $values, $expectedCount ) | ||
peekOnEmptyShouldThrowException ( ) | ||
popOnEmptyShouldThrowException ( ) | ||
popShouldNotAffectPreviousVersions ( ) | ||
popShouldRemoveHead ( ) | ||
provideStacksWithExpectedCount ( ) | ||
pushShouldAddNewHead ( ) | ||
pushShouldNotAffectPreviousVersions ( ) |
Method | Description | |
---|---|---|
assertValues ( array $values, Medusa\Stack\Stack $s ) | ||
createStack ( array $values ) | ||
popValues ( Medusa\Stack\Stack $stack ) |
public itShouldCountNumberOfElements ( $values, $expectedCount ) |