### Question:
ValueMarker extends Marker { public void setValue(double value) { this.value = value; notifyListeners(new MarkerChangeEvent(this)); } ValueMarker(double value);  ValueMarker(double value, Paint paint, Stroke stroke);  ValueMarker(double value, Paint paint, Stroke stroke,
                       Paint outlinePaint, Stroke outlineStroke, float alpha); double getValue(); void setValue(double value); @Override boolean equals(Object obj);  }### Answer:
@Test public void test1802195() throws IOException, ClassNotFoundException { ValueMarker m1 = new ValueMarker(25.0); ByteArrayOutputStream buffer = new ByteArrayOutputStream(); ObjectOutput out = new ObjectOutputStream(buffer); out.writeObject(m1); out.close(); ObjectInput in = new ObjectInputStream( new ByteArrayInputStream(buffer.toByteArray())); ValueMarker m2 = (ValueMarker) in.readObject(); in.close(); assertEquals(m1, m2); m2.setValue(-10.0); }