### Question:
LaunchableConfig { @Override public boolean equals(Object object) { if (this == object) { return true; } if (object == null || object.getClass() != getClass()) { return false; } final LaunchableConfig other = (LaunchableConfig) object; return ox == other.ox && oy == other.oy && delay == other.delay && media.equals(other.media) && vector.equals(other.vector); } LaunchableConfig(String media, int delay, int ox, int oy, Force vector); static LaunchableConfig imports(Xml node); static Xml exports(LaunchableConfig config); String getMedia(); int getDelay(); int getOffsetX(); int getOffsetY(); Force getVector(); @Override int hashCode(); @Override boolean equals(Object object); @Override String toString(); static final String NODE_LAUNCHABLE; static final String ATT_MEDIA; static final String ATT_DELAY; static final String ATT_OFFSET_X; static final String ATT_OFFSET_Y; }### Answer:
@Test void testEquals() { final LaunchableConfig launchable = new LaunchableConfig("media", 10, 1, 2, new Force(1.0, 2.0)); assertEquals(launchable, launchable); assertNotEquals(launchable, null); assertNotEquals(launchable, new Object()); assertNotEquals(launchable, new LaunchableConfig("", 10, 1, 2, new Force(1.0, 2.0))); assertNotEquals(launchable, new LaunchableConfig("media", 0, 1, 2, new Force(1.0, 2.0))); assertNotEquals(launchable, new LaunchableConfig("media", 10, 1, 2, new Force(2.0, 1.0))); assertNotEquals(launchable, new LaunchableConfig("media", 10, 0, 2, new Force(1.0, 2.0))); assertNotEquals(launchable, new LaunchableConfig("media", 10, 1, 0, new Force(1.0, 2.0))); }