@Test
public void testReadDataContext() {
assertEquals(CsvDataContext.class, dataContext.getClass());
CsvDataContext csv = (CsvDataContext) dataContext;
Resource resource = csv.getResource();
assertEquals(SpringResource.class, resource.getClass());
SpringResource springResource = (SpringResource) resource;
Assert.assertTrue(springResource.isExists());
assertEquals("example.csv", resource.getName());
assertEquals("[foo, bar]", Arrays.toString(csv.getDefaultSchema().getTable(0).getColumnNames()));
}