PHP Class Kraken\_Unit\Channel\Encoder\EncoderTest

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

Méthodes publiques

Méthode Description
createEncoder ( ) : Encoder
createProtocol ( ) : Protocol
decode ( string $str ) : mixed
encode ( mixed $mixed ) : string
testApiConstructor_DoesNotThrowException ( )
testApiDecode_DecodesStringUsingPassedParser ( )
testApiDestructor_DoesNotThrowException ( )
testApiEncode_EncodesProtocolUsingPassedParser ( )
testApiWith_SetsProtocol ( )

Method Details

createEncoder() public méthode

public createEncoder ( ) : Encoder
Résultat Kraken\Channel\Encoder\Encoder

createProtocol() public méthode

public createProtocol ( ) : Protocol
Résultat Kraken\Channel\Protocol\Protocol

decode() public méthode

public decode ( string $str ) : mixed
$str string
Résultat mixed

encode() public méthode

public encode ( mixed $mixed ) : string
$mixed mixed
Résultat string

testApiConstructor_DoesNotThrowException() public méthode

testApiDecode_DecodesStringUsingPassedParser() public méthode

testApiDestructor_DoesNotThrowException() public méthode

testApiEncode_EncodesProtocolUsingPassedParser() public méthode

testApiWith_SetsProtocol() public méthode