@Test
public void createLineLayerSource() throws InvalidArrowLineConfigException {

    ArrayList<Feature> featuresList = new ArrayList<>();
    FeatureCollection featureCollection = FeatureCollection.fromFeatures(featuresList);
    FeatureFilter.Builder builder = new FeatureFilter.Builder(featureCollection)
            .whereEq("type", "building");
    ArrowLineLayer.FeatureConfig featureConfig = new ArrowLineLayer.FeatureConfig(builder);
    ArrowLineLayer.SortConfig sortConfig = new ArrowLineLayer.SortConfig("", ArrowLineLayer.SortConfig.SortOrder.DESC, ArrowLineLayer.SortConfig.PropertyType.NUMBER);
    ArrowLineLayer arrowLineLayer = new ArrowLineLayer.Builder(context, featureConfig, sortConfig).build();
    assertNull((GeoJsonSource) ReflectionHelpers.getField(arrowLineLayer, "lineLayerSource"));
    ReflectionHelpers.callInstanceMethod(arrowLineLayer, "createLineLayerSource");
    assertNotNull((GeoJsonSource) ReflectionHelpers.getField(arrowLineLayer, "lineLayerSource"));
}