Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Kraken
_Unit
Network
Websocket
Driver
VersionManagerTest
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
public
testApiCheckVersion_ReturnsFalse_WhenVersionIsNotSupported
( )
testApiCheckVersion_ReturnsTrue_WhenVersionIsEnabled()
public
method
public
testApiCheckVersion_ReturnsTrue_WhenVersionIsEnabled
( )
testApiConstructor_CreatesInstance()
public
method
public
testApiConstructor_CreatesInstance
( )
testApiDestructor_DoesNotThrowException()
public
method
public
testApiDestructor_DoesNotThrowException
( )
testApiDisableVersion_DisablesVersion()
public
method
public
testApiDisableVersion_DisablesVersion
( )
testApiEnableVersion_EnablesVersion()
public
method
public
testApiEnableVersion_EnablesVersion
( )
testApiGetVersionHeader_ReturnsVersionHeader()
public
method
public
testApiGetVersionHeader_ReturnsVersionHeader
( )
testApiGetVersion_ReturnsNull_WhenVersionIsNotSet()
public
method
public
testApiGetVersion_ReturnsNull_WhenVersionIsNotSet
( )
testApiGetVersion_ReturnsNull_WhenVersionIsSetButNotSupported()
public
method
public
testApiGetVersion_ReturnsNull_WhenVersionIsSetButNotSupported
( )
testApiGetVersion_ReturnsVersion_WhenVersionIsSetAndSupported()
public
method
public
testApiGetVersion_ReturnsVersion_WhenVersionIsSetAndSupported
( )