### Question:
ModifiedVariable implements Variable, Cloneable { @Override public boolean equals(final Object o) { if (o instanceof ModifiedVariable) { return variable.equals(((ModifiedVariable) o).variable); } return variable.equals(o); } ModifiedVariable(final Variable variable, final List<VariableModifier> modifiers); @Override int compareTo(final Variable variable); @SuppressWarnings({"CloneDoesntCallSuperClone", "unchecked"}) @Override Object clone(); @Override int getSyntax(); @Override boolean isException(); @Override String toString(); @Override int toInt(); @Override long toLong(); @Override String getSyntaxString(); @Override OID toSubIndex(final boolean b); @Override void fromSubIndex(final OID oid, final boolean b); @Override boolean isDynamic(); @Override int getBERLength(); @Override int getBERPayloadLength(); @Override void decodeBER(final BERInputStream berInputStream); @Override void encodeBER(final OutputStream outputStream); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test public void testEquals() { assertTrue(modifiedVariable.equals(modifiedVariable)); assertTrue(modifiedVariable.equals(variable)); }