@Test
public void testGoodAuths() {

  List<ZKAuthInfo> result = ZKUtil.parseAuth(
      "scheme:data,\n   scheme2:user:pass");
  assertEquals(2, result.size());
  ZKAuthInfo auth0 = result.get(0);
  assertEquals("scheme", auth0.getScheme());
  assertEquals("data", new String(auth0.getAuth()));
  
  ZKAuthInfo auth1 = result.get(1);
  assertEquals("scheme2", auth1.getScheme());
  assertEquals("user:pass", new String(auth1.getAuth()));
}