/**
* @group functional
*/
public function testGetStats()
{
$client = $this->_getClient();
$names = $client->getCluster()->getNodeNames();
$name = reset($names);
$node = new Node($name, $client);
$stats = $node->getStats();
$this->assertInstanceOf('Elastica\\Node\\Stats', $stats);
}