// Path: greencoffee/src/main/java/com/mauriciotogneri/greencoffee/exceptions/InvalidExampleException.java
// public class InvalidExampleException extends RuntimeException
// {
//     public InvalidExampleException(int line, int column)
//     {
//         super(String.format("Invalid example format at: [%s, %s]", line, column));
//     }
// }


import com.mauriciotogneri.greencoffee.exceptions.InvalidExampleException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
import gherkin.AstBuilder;
import gherkin.Parser;
import gherkin.ast.Examples;
import gherkin.ast.Feature;
import gherkin.ast.GherkinDocument;
import gherkin.ast.ScenarioDefinition;
import gherkin.ast.ScenarioOutline;
import gherkin.ast.Step;
import gherkin.ast.TableCell;
import gherkin.ast.TableRow;
import gherkin.ast.Tag;
    {
        return gherkin.ast.Scenario.class.isInstance(scenario);
    }

    private boolean isScenarioOutline(ScenarioDefinition scenario)
    {
        return gherkin.ast.ScenarioOutline.class.isInstance(scenario);
    }

    private Map<String, String> parametersMap(TableRow header, TableRow row)
    {
        List<TableCell> headerCells = header.getCells();
        List<TableCell> rowCells = row.getCells();

        if (headerCells.size() == rowCells.size())
        {
            Map<String, String> parameters = new LinkedHashMap<>();

            for (int i = 0; i < headerCells.size(); i++)
            {
                TableCell headerCell = headerCells.get(i);
                TableCell rowCell = rowCells.get(i);

                parameters.put(headerCell.getValue(), rowCell.getValue());
            }

            return parameters;
        }
        else
        {
// Path: greencoffee/src/main/java/com/mauriciotogneri/greencoffee/exceptions/InvalidExampleException.java
// public class InvalidExampleException extends RuntimeException
// {
//     public InvalidExampleException(int line, int column)
//     {
//         super(String.format("Invalid example format at: [%s, %s]", line, column));
//     }
// }


// Path: greencoffee/src/main/java/com/mauriciotogneri/greencoffee/GreenCoffeeConfig.java
import com.mauriciotogneri.greencoffee.exceptions.InvalidExampleException;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
import gherkin.AstBuilder;
import gherkin.Parser;
import gherkin.ast.Examples;
import gherkin.ast.Feature;
import gherkin.ast.GherkinDocument;
import gherkin.ast.ScenarioDefinition;
import gherkin.ast.ScenarioOutline;
import gherkin.ast.Step;
import gherkin.ast.TableCell;
import gherkin.ast.TableRow;
import gherkin.ast.Tag;

    {
        return gherkin.ast.Scenario.class.isInstance(scenario);
    }

    private boolean isScenarioOutline(ScenarioDefinition scenario)
    {
        return gherkin.ast.ScenarioOutline.class.isInstance(scenario);
    }

    private Map<String, String> parametersMap(TableRow header, TableRow row)
    {
        List<TableCell> headerCells = header.getCells();
        List<TableCell> rowCells = row.getCells();

        if (headerCells.size() == rowCells.size())
        {
            Map<String, String> parameters = new LinkedHashMap<>();

            for (int i = 0; i < headerCells.size(); i++)
            {
                TableCell headerCell = headerCells.get(i);
                TableCell rowCell = rowCells.get(i);

                parameters.put(headerCell.getValue(), rowCell.getValue());
            }

            return parameters;
        }
        else
        {
            throw new InvalidExampleException(header.getLocation().getLine(), header.getLocation().getColumn());