### Question:
LanePropertyReader extends BasePropertyReader { @Override public RectangleDimensionsSet getRectangleDimensionsSet() { if (shape == null || parentLaneShape == null) { return super.getRectangleDimensionsSet(); } org.eclipse.dd.dc.Bounds bounds = shape.getBounds(); return new RectangleDimensionsSet(parentLaneShape.getBounds().getWidth() * resolutionFactor, bounds.getHeight() * resolutionFactor); } LanePropertyReader(Lane el, BPMNDiagram diagram, BPMNShape shape, BPMNShape parentLaneShape, double resolutionFactor);  LanePropertyReader(Lane el, BPMNDiagram diagram, BPMNShape shape, double resolutionFactor); String getName(); @Override RectangleDimensionsSet getRectangleDimensionsSet();  }### Answer:
@Test public void testGetRectangleDimensionsSet() { LanePropertyReader propertyReader = new LanePropertyReader(lane, diagram, shape, RESOLUTION_FACTOR); RectangleDimensionsSet dimensionsSet = propertyReader.getRectangleDimensionsSet(); assertRectangleDimensions(WIDTH * RESOLUTION_FACTOR, HEIGHT * RESOLUTION_FACTOR, dimensionsSet); }
@Test public void testGetRectangleDimensionsSetWithParentShape() { LanePropertyReader propertyReader = new LanePropertyReader(lane, diagram, shape, parentLaneShape, RESOLUTION_FACTOR); RectangleDimensionsSet dimensionsSet = propertyReader.getRectangleDimensionsSet(); assertRectangleDimensions(PARENT_WIDTH * RESOLUTION_FACTOR, HEIGHT * RESOLUTION_FACTOR, dimensionsSet); }