ConsumerPrincipal extends Principal { @Override public boolean hasFullAccess() { return false; } ConsumerPrincipal(Consumer consumer, Owner owner); Consumer getConsumer(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String getName(); @Override String getType(); @Override boolean hasFullAccess();  }
@Test public void noFullAccess() { assertFalse(new ConsumerPrincipal(consumer, o).hasFullAccess()); }