Nats\Test\ConnectionOptionsTest::testStringRepresentation PHP Method

testStringRepresentation() public method

Test string representation of ConnectionOptions.
public testStringRepresentation ( ) : void
return void
    public function testStringRepresentation()
    {
        $options = new ConnectionOptions();
        $this->assertEquals("{\"lang\":\"php\",\"version\":\"0.8.0\",\"verbose\":false,\"pedantic\":false}", $options->__toString());
    }