(Arrays.asList(new SortConstraint("A", false), new SortConstraint("B", true)));
}
@Test
public void testExtraColumn() {
QueryDataRowWrapper wrapper = new QueryDataRowWrapper(new StaticDataRow(), 10, 12, sortConstraintList);
String[] expecteds = {DataFactory.QUERY_LIMIT, DataFactory.QUERY_TIMEOUT, DataFactory.QUERY_SORT};
Assert.assertArrayEquals(expecteds, wrapper.getColumnNames());
Assert.assertEquals(wrapper.get(DataFactory.QUERY_LIMIT), Integer.valueOf(12));
Assert.assertEquals(wrapper.get(DataFactory.QUERY_TIMEOUT), Integer.valueOf(10));
Assert.assertEquals(wrapper.get(DataFactory.QUERY_SORT), sortConstraintList);
}