@Test(expected=UnsupportedOperationException.class)
public void removeLayerThrowsException() {

    Layer layer = new MockLayer(WORLD);
    MapContent mc = new SingleLayerMapContent(layer);
    mc.removeLayer(layer);
}