class ZookeeperStoreTest extends AbstractStoreTestCase
{ use UnserializableTestTrait;
public function getStore(): ZookeeperStore
{ $zookeeper_server =
getenv('ZOOKEEPER_HOST'
).':2181';
$zookeeper =
new \
Zookeeper($zookeeper_server);
return StoreFactory::
createStore($zookeeper);
} /**
* @dataProvider provideValidConnectionString
*/
public function testCreateConnection(string
$connectionString) { $this->
assertInstanceOf(\Zookeeper::
class, ZookeeperStore::
createConnection($connectionString));
}