import java.util.List;
import static com.thoughtworks.gauge.test.common.GaugeProject.currentProject;</BUG>
public class DataStore {
@Step("Create a scenario <newScenario> in specification <newSpec> with steps to read and write to datastore <table>")
public void addToDataStore(String scenario, String spec, Table datastoreValues) throws Exception {
<BUG>List<String> columnNames = datastoreValues.getColumnNames();
Table table = new Table(Arrays.asList(columnNames.get(0), "implementation"));
List<TableRow> rows = datastoreValues.getTableRows();
TableRow row = rows.get(0);
table.addRow(Arrays.asList(row.getCell(columnNames.get(0)), currentProject.getDataStoreWriteStatement(row, columnNames)));
row = rows.get(1);
table.addRow(Arrays.asList(row.getCell(columnNames.get(0)), currentProject.getDataStorePrintValueStatement(row, columnNames)));</BUG>
new SpecificationBuilder().withScenarioName(scenario)

package com.thoughtworks.gauge.test.implementation;
import com.thoughtworks.gauge.Step;
import com.thoughtworks.gauge.Table;
import com.thoughtworks.gauge.test.common.builders.SpecificationBuilder;
public class DataStore {
@Step("Create a scenario <newScenario> in specification <newSpec> with steps to read and write to datastore <table>")
public void addToDataStore(String scenario, String spec, Table datastoreValues) throws Exception {
new SpecificationBuilder().withScenarioName(scenario)
