### Question:
LineOfBearingGeometry extends PolylineGeometry { @Override public LineOfBearingGeometry clone() { return (LineOfBearingGeometry)super.clone(); } LineOfBearingGeometry(LineOfBearingGeometry.Builder builder, LOBRenderProperties renderProperties,
            Constraints constraints); @Override LineOfBearingGeometry clone(); @Override Builder createBuilder(); @Override LineOfBearingGeometry derive(BaseRenderProperties renderProperties, Constraints constraints); final float getLineOrientation(); GeographicPosition getPosition(); @Override LOBRenderProperties getRenderProperties(); boolean isDisplayArrow();  }### Answer:
@Test public void testClone() { LineOfBearingGeometry.Builder builder = new LineOfBearingGeometry.Builder(); builder.setDataModelId(3423L); GeographicPosition position = new GeographicPosition(LatLonAlt.createFromDegrees(23., 56.)); builder.setPosition(position); builder.setRapidUpdate(true); builder.setLineOrientation(15f); LOBRenderProperties renderProperties1 = new DefaultLOBRenderProperties(65763, false, true); renderProperties1.setWidth(5f); renderProperties1.setLineLength(200f); TimeConstraint timeConstraint = TimeConstraint.getTimeConstraint(TimeSpan.get(10L, 20L)); Constraints constraints1 = new Constraints(timeConstraint); LineOfBearingGeometry geom = new LineOfBearingGeometry(builder, renderProperties1, constraints1); LineOfBearingGeometry clone = geom.clone(); Assert.assertNotSame(geom, clone); Assert.assertEquals(geom.getDataModelId(), clone.getDataModelId()); Assert.assertEquals(geom.getPosition(), clone.getPosition()); Assert.assertEquals(geom.isRapidUpdate(), clone.isRapidUpdate()); Assert.assertEquals(geom.getRenderProperties().getWidth(), clone.getRenderProperties().getWidth(), 0f); Assert.assertEquals(geom.getRenderProperties().getLineLength(), clone.getRenderProperties().getLineLength(), 0f); Assert.assertEquals(geom.getRenderProperties().getDirectionalArrowLength(), clone.getRenderProperties().getDirectionalArrowLength(), 0f); Assert.assertEquals(geom.getLineOrientation(), clone.getLineOrientation(), 0f); Assert.assertEquals(geom.isDisplayArrow(), clone.isDisplayArrow()); Assert.assertNotSame(geom.getRenderProperties(), clone.getRenderProperties()); Assert.assertEquals(geom.getRenderProperties(), clone.getRenderProperties()); Assert.assertNotSame(geom.getConstraints(), clone.getConstraints()); Assert.assertEquals(geom.getConstraints(), clone.getConstraints()); }