### Question:
Configuration implements Comparable<Configuration> { @Override public boolean equals(final Object obj) { return obj instanceof Configuration && compareTo((Configuration) obj) == 0; } Configuration(final Element configuration); static Configuration getInstance(final Element configurationElement); int compareTo(final Configuration o); @Override boolean equals(final Object obj); Element getConfiguration(); @Override int hashCode();  }### Answer:
@Test public void testInstanceDoesNotEqualNull() { assertFalse(new Configuration(mock(Element.class)).equals(null)); }