Nats\Test\ConnectionOptionsTest::testStringRepresentation PHP 메소드

testStringRepresentation() 공개 메소드

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