Ability { public Privacy privacy() { return privacy; } @SafeVarargs private  Ability(String name, String info, Locality locality, Privacy privacy, int argNum, boolean statsEnabled, Consumer<MessageContext> action, Consumer<MessageContext> postAction, List<Reply> replies, Predicate<Update>... flags); static AbilityBuilder builder(); String name(); String info(); Locality locality(); Privacy privacy(); int tokens(); boolean statsEnabled(); Consumer<MessageContext> action(); Consumer<MessageContext> postAction(); List<Reply> replies(); List<Predicate<Update>> flags(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test void privacyCannotBeNull() { Assertions.assertThrows(NullPointerException.class, () -> getDefaultBuilder().privacy(null).build()); }