@Test
public void testUnexpected() throws Exception {

  Privilege p = new Privilege() {
    @Override
    public boolean implies(Privilege p) {
      return false;
    }
  };
  Privilege topic1 = create(new KeyValue("HOST", "host"), new KeyValue("TOPIC", "topic1"));
  assertFalse(topic1.implies(null));
  assertFalse(topic1.implies(p));
  assertFalse(topic1.equals(null));
  assertFalse(topic1.equals(p));
}