RectangleArea implements Serializable { public RectangleArea round() { return new RectangleArea(Math.round(x), Math.round(y), Math.round(width), Math.round(height)); } @JsonCreator  RectangleArea(@JsonProperty("x") double x, @JsonProperty("y") double y, @JsonProperty("width") double width,
			@JsonProperty("height") double height);  RectangleArea(Rectangle rectangle); double getX(); double getY(); double getWidth(); double getHeight(); RectangleArea floor(); RectangleArea round(); RectangleArea ceil(); RectangleArea move(double deltaX, double deltaY); RectangleArea applyScale(double scale); Rectangle toRectangle(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void testRound() throws Exception { RectangleArea rectangle = new RectangleArea(10.3d, 20.4d, 30.5d, 40.6d); RectangleArea result = rectangle.round(); assertThat(result, is(new RectangleArea(10d, 20d, 31d, 41d))); }