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

Inheritance: extends Kraken\Test\TUnit
Afficher le fichier Open project: kraken-php/framework

Méthodes publiques

Méthode 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 méthode

public createVersionManager ( ) : VersionManager
Résultat Kraken\Network\Websocket\Driver\Version\VersionManager

testApiCheckVersion_ReturnsFalse_WhenVersionIsNotSupported() public méthode

testApiCheckVersion_ReturnsTrue_WhenVersionIsEnabled() public méthode

testApiConstructor_CreatesInstance() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiDisableVersion_DisablesVersion() public méthode

testApiEnableVersion_EnablesVersion() public méthode

testApiGetVersionHeader_ReturnsVersionHeader() public méthode

testApiGetVersion_ReturnsNull_WhenVersionIsNotSet() public méthode

testApiGetVersion_ReturnsNull_WhenVersionIsSetButNotSupported() public méthode

testApiGetVersion_ReturnsVersion_WhenVersionIsSetAndSupported() public méthode