@Test
public void getAllKeysDescriptorTest()
{

  DimensionalConfigurationSchema des = new DimensionalConfigurationSchema(
      SchemaUtils.jarResourceFileToString("adsGenericEventSchema.json"),
      AggregatorRegistry.DEFAULT_AGGREGATOR_REGISTRY);
  Set<String> keys = Sets.newHashSet("publisher", "advertiser", "location");
  Assert.assertEquals(keys, des.getKeyDescriptor().getFields().getFields());
}