BackgroundLayer extends Layer { Color getColor() { return (Color) getConfiguration().getValue(Type.COLOR); } BackgroundLayer(Color color);  BackgroundLayer(Type type, PropertySet configuration);   }
@Test public void testConstructor() { BackgroundLayer layer = new BackgroundLayer(Color.BLUE); assertEquals(Color.BLUE, layer.getColor()); assertNull(layer.getModelBounds()); }