### Question:
Definition implements Comparable<Definition> { @Override public int compareTo(final @NonNull Definition other) { return this.term.compareTo(other.term); } Definition(
        final @NonNull String term,
        final @NonNull String description
    ); @Override int compareTo(final @NonNull Definition other); Text text(); Text json(final String indent); @Override String toString();  }### Answer:
@SuppressWarnings({"ConstantConditions", "ResultOfMethodCallIgnored"}) @Test(expected = NullPointerException.class) public void compareDoesNotAllowNull() { new Definition( "Glossary", "A list of definitions in a codebase." ).compareTo(null); }