ImmutablePrivilegeDefinition implements PrivilegeDefinition { @NotNull @Override public String getName() { return name; } ImmutablePrivilegeDefinition(@NotNull String name, boolean isAbstract, @Nullable Iterable<String> declaredAggregateNames); @NotNull @Override String getName(); @Override boolean isAbstract(); @NotNull @Override Set<String> getDeclaredAggregateNames(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }
@Test public void testGetName() { assertEquals("name", def.getName()); }