public function testPickNode() { $nodes = static::getCluster(); $riak = new Riak($nodes); $this->assertNotFalse($riak->getActiveNodeIndex()); $this->assertInstanceOf('Basho\\Riak\\Node', $riak->getActiveNode()); }