PHP Class Nats\tests\Unit\ConnectionTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: repejota/phpnats

Public Methods

Method Description
setUp ( ) : void SetUp test suite.
testConnection ( ) : void Test Connection.
testLargeRequest ( ) : void Test Request command with large payload.
testPing ( ) : void Test Ping command.
testPublish ( ) : void Test Publish command.
testReconnect ( ) : void Test Reconnect command.
testRequest ( ) : void Test Request command.
testSetStreamTimeout ( ) : void Test setting a timeout on the stream
testUnsubscribe ( ) : void Test Unsubscribe command.

Method Details

setUp() public method

SetUp test suite.
public setUp ( ) : void
return void

testConnection() public method

Test Connection.
public testConnection ( ) : void
return void

testLargeRequest() public method

Test Request command with large payload.
public testLargeRequest ( ) : void
return void

testPing() public method

Test Ping command.
public testPing ( ) : void
return void

testPublish() public method

Test Publish command.
public testPublish ( ) : void
return void

testReconnect() public method

Test Reconnect command.
public testReconnect ( ) : void
return void

testRequest() public method

Test Request command.
public testRequest ( ) : void
return void

testSetStreamTimeout() public method

Test setting a timeout on the stream
public testSetStreamTimeout ( ) : void
return void

testUnsubscribe() public method

Test Unsubscribe command.
public testUnsubscribe ( ) : void
return void