getNodes() public method

public getNodes ( ) : Node[]
return Basho\Riak\Node[]
Exemplo n.º 1
0
 /**
  * @dataProvider getCluster
  *
  * @param $nodes array
  */
 public function testNodeCount($nodes)
 {
     $riak = new Riak($nodes);
     $this->assertEquals(count($riak->getNodes()), count($nodes));
 }
Exemplo n.º 2
0
 public function testNodeCount()
 {
     $nodes = static::getCluster();
     $riak = new Riak($nodes);
     $this->assertEquals(count($riak->getNodes()), count($nodes));
 }