### Question:
ItemLabelPosition implements Serializable { @Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof ItemLabelPosition)) { return false; } ItemLabelPosition that = (ItemLabelPosition) obj; if (!this.itemLabelAnchor.equals(that.itemLabelAnchor)) { return false; } if (!this.textAnchor.equals(that.textAnchor)) { return false; } if (!this.rotationAnchor.equals(that.rotationAnchor)) { return false; } if (this.angle != that.angle) { return false; } return true; } ItemLabelPosition();  ItemLabelPosition(ItemLabelAnchor itemLabelAnchor,
                             TextAnchor textAnchor);  ItemLabelPosition(ItemLabelAnchor itemLabelAnchor,
                             TextAnchor textAnchor,
                             TextAnchor rotationAnchor,
                             double angle); ItemLabelAnchor getItemLabelAnchor(); TextAnchor getTextAnchor(); TextAnchor getRotationAnchor(); double getAngle(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testEquals() { ItemLabelPosition p1 = new ItemLabelPosition(); ItemLabelPosition p2 = new ItemLabelPosition(); assertEquals(p1, p2); }