@Test(expected=InvalidQueryException.class)
public void testSetPredicate_invalid() throws Exception {

  HostGroupInfo group = new HostGroupInfo("test-name");
  group.setPredicate("=thisIsNotAPredicate");
}