public function testListServiceNodes() { $nodes = array(self::$serviceNode, self::$serviceNode); $suricate = new Suricate($this->getMockedClient('/v1/service/test', $nodes)); $this->assertEquals($nodes, $suricate->getAll('test')); }