Table table = dc.getDefaultSchema().getTables()[0];
DataSet dataSet = dc.query().from(table).select("Foo").and("Bar")
.where("Foo").isEquals("7").execute();
assertTrue(dataSet.next());
Row row = dataSet.getRow();
assertNotNull(row.getStyle(0));
final String expectedStyling = "";
assertEquals(expectedStyling, row.getStyle(0).toCSS());
assertNotNull(row.getStyle(1));
assertEquals(expectedStyling, row.getStyle(1).toCSS());
assertFalse(dataSet.next());
dataSet.close();
dataSet = dc.query().from(table).select("Foo").and("Bar").execute();
assertTrue(dataSet.next());
row = dataSet.getRow();
assertNotNull(row.getStyle(0));
assertEquals(expectedStyling, row.getStyle(0).toCSS());
assertNotNull(row.getStyle(1));
assertEquals(expectedStyling, row.getStyle(1).toCSS());
assertTrue(dataSet.next());
assertEquals(expectedStyling, dataSet.getRow().getStyle(0).toCSS());
assertTrue(dataSet.next());
assertEquals(expectedStyling, dataSet.getRow().getStyle(0).toCSS());