### Question:
ExternalStandardMapping extends TypeDefElementHeader { @Override public boolean equals(Object objectToCompare) { if (this == objectToCompare) { return true; } if (!(objectToCompare instanceof ExternalStandardMapping)) { return false; } ExternalStandardMapping that = (ExternalStandardMapping) objectToCompare; return Objects.equals(getStandardName(), that.getStandardName()) && Objects.equals(getStandardOrganization(), that.getStandardOrganization()) && Objects.equals(getStandardTypeName(), that.getStandardTypeName()); } ExternalStandardMapping();  ExternalStandardMapping(ExternalStandardMapping  templateElement); String getStandardName(); void setStandardName(String standardName); String getStandardOrganization(); void setStandardOrganization(String standardOrganization); String getStandardTypeName(); void setStandardTypeName(String standardTypeName); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testEquals() { assertTrue(getTestObject().equals(getTestObject())); ExternalStandardMapping testObject = getTestObject(); assertTrue(testObject.equals(testObject)); assertTrue(testObject.equals(getTestObject())); assertFalse(getTestObject().equals(null)); assertFalse(getTestObject().equals("A String")); ExternalStandardMapping differentObject = getTestObject(); differentObject.setStandardTypeName("AnotherValue"); assertFalse(testObject.equals(differentObject)); }