AbstractOrientedLayout extends AbstractLayout implements
		OrientedLayout { @Override public Orientation getOrientation() { return orientation; } AbstractOrientedLayout(Orientation orientation, double gapX, double gapY); @Override Orientation getOrientation(); @Override void setOrientation(Orientation orientation);  }
@Test public void testSerialization() throws IOException, ClassNotFoundException { AbstractOrientedLayout original = new MockAbstractOrientedLayout(Orientation.VERTICAL, GAP_H, GAP_V); AbstractOrientedLayout deserialized = TestUtils.serializeAndDeserialize(original); assertEquals(original.getOrientation(), deserialized.getOrientation()); }