Country implements ObjectIdentifiable, UniqueIdentifiable, Comparable<Country>, Serializable { @Override public int compareTo(Country other) { return _code.compareTo(other._code); } private  Country(String countryCode); static Set<Country> getAvailableCountries(); @FromString static Country of(String countryCode); static Country parse(String countryCode); @ToString String getCode(); @Override ObjectId getObjectId(); @Override UniqueId getUniqueId(); @Override int compareTo(Country other); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final String OBJECT_SCHEME; static final Country EU; static final Country BE; static final Country CH; static final Country CZ; static final Country DE; static final Country DK; static final Country ES; static final Country FI; static final Country FR; static final Country GB; static final Country GR; static final Country HU; static final Country IT; static final Country LU; static final Country NL; static final Country NO; static final Country SK; static final Country PL; static final Country PT; static final Country RU; static final Country SE; static final Country AR; static final Country BR; static final Country CA; static final Country CL; static final Country MX; static final Country US; static final Country AU; static final Country CN; static final Country HK; static final Country IN; static final Country JP; static final Country NZ; static final Country TH; }
@Test(expectedExceptions = NullPointerException.class) public void test_compareTo_null() { Country.AU.compareTo(null); }