PHP Class Kraken\_Unit\Network\Websocket\Driver\VersionManagerTest

Inheritance: extends Kraken\Test\TUnit
Datei anzeigen Open project: kraken-php/framework

Public Methods

Method Description
createVersionManager ( ) : VersionManager
testApiCheckVersion_ReturnsFalse_WhenVersionIsNotSupported ( )
testApiCheckVersion_ReturnsTrue_WhenVersionIsEnabled ( )
testApiConstructor_CreatesInstance ( )
testApiDestructor_DoesNotThrowException ( )
testApiDisableVersion_DisablesVersion ( )
testApiEnableVersion_EnablesVersion ( )
testApiGetVersionHeader_ReturnsVersionHeader ( )
testApiGetVersion_ReturnsNull_WhenVersionIsNotSet ( )
testApiGetVersion_ReturnsNull_WhenVersionIsSetButNotSupported ( )
testApiGetVersion_ReturnsVersion_WhenVersionIsSetAndSupported ( )

Method Details

createVersionManager() public method

public createVersionManager ( ) : VersionManager
return Kraken\Network\Websocket\Driver\Version\VersionManager

testApiCheckVersion_ReturnsFalse_WhenVersionIsNotSupported() public method

testApiCheckVersion_ReturnsTrue_WhenVersionIsEnabled() public method

testApiConstructor_CreatesInstance() public method

testApiDestructor_DoesNotThrowException() public method

testApiDisableVersion_DisablesVersion() public method

testApiEnableVersion_EnablesVersion() public method

testApiGetVersionHeader_ReturnsVersionHeader() public method

testApiGetVersion_ReturnsNull_WhenVersionIsNotSet() public method

testApiGetVersion_ReturnsNull_WhenVersionIsSetButNotSupported() public method

testApiGetVersion_ReturnsVersion_WhenVersionIsSetAndSupported() public method