public function testGetHosts()
{
$client = $this->getClient();
$hosts = $client->getHosts();
$this->assertArraySubset(['localhost:27017;-;.;' . getmypid() => ['host' => 'localhost', 'port' => 27017, 'health' => 1, 'state' => 0]], $hosts);
}