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

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