assertTrue(prop instanceof Collection);
assertEquals(5, ((Collection<?>) prop).size());
for (int i = 0; i < fields[0].length; i++)
{
DefaultConfigurationKey key = createConfigurationKey();
key.append("fields").append("field").appendIndex(i);
key.append("name");
assertEquals(fields[0][i], subset.getProperty(key.toString()));
}
// test the subset on the second table
assertTrue("subset is not empty", config.subset("tables.table(2)").isEmpty());