### Question:
Tenor implements Comparable<Tenor>, TemporalAmount, Serializable { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (obj == null || getClass() != obj.getClass()) { return false; } Tenor other = (Tenor) obj; return period.equals(other.period); } private  Tenor(Period period, String name); static Tenor of(Period period); static Tenor ofDays(int days); static Tenor ofWeeks(int weeks); static Tenor ofMonths(int months); static Tenor ofYears(int years); @FromString static Tenor parse(String toParse); Period getPeriod(); Tenor normalized(); boolean isWeekBased(); boolean isMonthBased(); @Override long get(TemporalUnit unit); @Override List<TemporalUnit> getUnits(); @Override Temporal addTo(Temporal temporal); @Override Temporal subtractFrom(Temporal temporal); @Override int compareTo(Tenor other); @Override boolean equals(Object obj); @Override int hashCode(); @ToString @Override String toString(); static final Tenor TENOR_1D; static final Tenor TENOR_2D; static final Tenor TENOR_3D; static final Tenor TENOR_1W; static final Tenor TENOR_2W; static final Tenor TENOR_3W; static final Tenor TENOR_4W; static final Tenor TENOR_6W; static final Tenor TENOR_13W; static final Tenor TENOR_26W; static final Tenor TENOR_52W; static final Tenor TENOR_1M; static final Tenor TENOR_2M; static final Tenor TENOR_3M; static final Tenor TENOR_4M; static final Tenor TENOR_5M; static final Tenor TENOR_6M; static final Tenor TENOR_7M; static final Tenor TENOR_8M; static final Tenor TENOR_9M; static final Tenor TENOR_10M; static final Tenor TENOR_11M; static final Tenor TENOR_12M; static final Tenor TENOR_15M; static final Tenor TENOR_18M; static final Tenor TENOR_21M; static final Tenor TENOR_1Y; static final Tenor TENOR_2Y; static final Tenor TENOR_3Y; static final Tenor TENOR_4Y; static final Tenor TENOR_5Y; static final Tenor TENOR_6Y; static final Tenor TENOR_7Y; static final Tenor TENOR_8Y; static final Tenor TENOR_9Y; static final Tenor TENOR_10Y; static final Tenor TENOR_11Y; static final Tenor TENOR_12Y; static final Tenor TENOR_13Y; static final Tenor TENOR_14Y; static final Tenor TENOR_15Y; static final Tenor TENOR_20Y; static final Tenor TENOR_25Y; static final Tenor TENOR_30Y; static final Tenor TENOR_35Y; static final Tenor TENOR_40Y; static final Tenor TENOR_45Y; static final Tenor TENOR_50Y; }### Answer:
@Test public void test_equals_bad() { assertThat(TENOR_3D.equals(null)).isEqualTo(false); assertThat(TENOR_3D.equals(ANOTHER_TYPE)).isEqualTo(false); assertThat(TENOR_3D.equals(new Object())).isEqualTo(false); }