@Test
public void addBaseLayerShouldReturnFalseWhenBaseLayerInstanceIsSame() {

    BaseLayer satelliteLayer = new SatelliteBaseLayer();
    ArrayList<BaseLayer> baseLayers = new ArrayList<>();
    baseLayers.add(satelliteLayer);
    assertEquals(0, ((ArrayList<BaseLayer>) ReflectionHelpers.getField(baseLayerSwitcherPlugin, "baseLayers")).size());
    ReflectionHelpers.setField(baseLayerSwitcherPlugin, "baseLayers", baseLayers);
    boolean addLayerResult = baseLayerSwitcherPlugin.addBaseLayer(satelliteLayer, true);
    assertFalse(addLayerResult);
}