### Question:
ImmutableCell extends ImmutableElectricObject { public boolean equalsExceptVariables(ImmutableElectricObject o) { if (this == o) { return true; } if (!(o instanceof ImmutableCell)) { return false; } ImmutableCell that = (ImmutableCell) o; return this.cellId == that.cellId && this.groupName.equals(that.groupName) && this.creationDate == that.creationDate && this.revisionDate == that.revisionDate && this.techId == that.techId && this.flags == that.flags && Arrays.equals(this.params, that.params); } private  ImmutableCell(CellId cellId, CellName groupName,
            long creationDate, long revisionDate, TechId techId, int flags, Variable[] vars, Variable[] params); static ImmutableCell newInstance(CellId cellId, long creationDate); ImmutableCell withGroupName(CellName groupName); ImmutableCell withCreationDate(long creationDate); ImmutableCell withRevisionDate(long revisionDate); ImmutableCell withTechId(TechId techId); ImmutableCell withFlags(int flags); Variable getParameter(Variable.AttrKey key); Iterator<Variable> getParameters(); int getNumParameters(); Variable getParameter(int paramIndex); ImmutableCell withParam(Variable var); ImmutableCell withoutParam(Variable.AttrKey key); ImmutableCell withVariable(Variable var); ImmutableCell withoutVariable(Variable.Key key); ImmutableCell withoutVariables(); LibId getLibId(); int hashCodeExceptVariables(); boolean equalsExceptVariables(ImmutableElectricObject o); void check(); boolean paramsAllowed(); boolean busNamesAllowed(); @Override String toString(); final CellId cellId; final CellName groupName; final long creationDate; final long revisionDate; final TechId techId; }### Answer:
@Test public void testEqualsExceptVariables() { System.out.println("equalsExceptVariables"); assertTrue(d.equalsExceptVariables(d)); assertFalse(d.equalsExceptVariables(d.withGroupName(CellName.parseName("bar{sch}")))); assertFalse(d.equalsExceptVariables(d.withCreationDate(1))); assertFalse(d.equalsExceptVariables(d.withTechId(schematicTechId))); assertFalse(d.equalsExceptVariables(d.withFlags(1))); assertTrue(d.equalsExceptVariables(d.withVariable(var))); }