return new MetadataProvider(columnMetadata);
}
public void testMetadata() throws Exception {
MetadataProvider provider = example1();
assertEquals(2, provider.getColumnCount());
for(int i=0; i<provider.getColumnCount(); i++) {
assertNotNull(provider.getValue(i, ResultsMetadataConstants.VIRTUAL_DATABASE_NAME));
assertNotNull(provider.getValue(i, ResultsMetadataConstants.VIRTUAL_DATABASE_VERSION));
assertNotNull(provider.getValue(i, ResultsMetadataConstants.GROUP_NAME));
assertNotNull(provider.getValue(i, ResultsMetadataConstants.ELEMENT_NAME));
}
}