@Test(expected=ArrayIndexOutOfBoundsException.class)
public void removeLayerIndexOutOfRangeThrowsException() throws Exception {

    mapContent.layers().add(new MockLayer(WORLD));
    mapContent.layers().remove(1);
}