@Test
public void testGetZKQuorumFromConf() {

  PropertiesConfiguration conf = mock(PropertiesConfiguration.class);
  when(conf.getStringArray(eq(Constants.ZOOKEEPER_QUORUM))).thenReturn(
      new String[]{"a", "b", "c"}
  );
  String expected = String.format("a%sb%sc", Constants.ZOOKEEPER_QUORUM_DELIMITER,
      Constants.ZOOKEEPER_QUORUM_DELIMITER);
  assertEquals(expected, TerrapinUtil.getZKQuorumFromConf(conf));
}