PHP Class Kraken\_Unit\Loop\Tick\TickContinousQueueTest

Inheritance: extends Kraken\Test\TUnit
Show file Open project: kraken-php/framework

Public Methods

Method Description
createTickQueue ( ) : TickContinousQueueMock
testApiAdd_AddsListener ( )
testApiConstructor_DoesNotThrowException ( )
testApiDestructor_DoesNotThrowException ( )
testApiIsEmpty_ReturnsFalse_WhenQueueIsNotEmpty ( )
testApiIsEmpty_ReturnsTrue_WhenQueueIsEmpty ( )
testApiTick_InvokesCallbacksThatWereOnQueueBeforeTickAndNewlyAdded ( )

Method Details

createTickQueue() public method

public createTickQueue ( ) : TickContinousQueueMock
return Kraken\_Unit\Loop\_Mock\Timer\TickContinousQueueMock

testApiAdd_AddsListener() public method

testApiConstructor_DoesNotThrowException() public method

testApiDestructor_DoesNotThrowException() public method

testApiIsEmpty_ReturnsFalse_WhenQueueIsNotEmpty() public method

testApiIsEmpty_ReturnsTrue_WhenQueueIsEmpty() public method

testApiTick_InvokesCallbacksThatWereOnQueueBeforeTickAndNewlyAdded() public method