@Test
  public void testLoadGeoGroup() throws Exception {
    ModelAnnotationGroup group = sharedDimensionManager.readGroup("GeoGroup", this.metaStore);
    assertNotNull(group);
    assertTrue(group instanceof SharedDimensionGroup);

    SharedDimensionGroup sdg = (SharedDimensionGroup) group;
    assertTrue(sdg.isSharedDimension());
    assertEquals(2, sdg.getModelAnnotations().size());
    assertEquals(3, sdg.getModelAnnotations().get(0).describeAnnotation().size());
    assertEquals(6, sdg.getModelAnnotations().get(1).describeAnnotation().size());
  }
  @Test
  public void testSalesCustomerDimension() throws Exception {
    ModelAnnotationGroup group =
        sharedDimensionManager.readGroup("SalesCustomerDimension", this.metaStore);
    assertNotNull(group);
    assertTrue(group instanceof SharedDimensionGroup);

    SharedDimensionGroup sdg = (SharedDimensionGroup) group;
    assertTrue(sdg.isSharedDimension());
    assertEquals(7, sdg.getModelAnnotations().size());
    assertEquals(3, sdg.getModelAnnotations().get(0).describeAnnotation().size());
    assertEquals(5, sdg.getModelAnnotations().get(1).describeAnnotation().size());
    assertEquals(5, sdg.getModelAnnotations().get(2).describeAnnotation().size());
    assertEquals(5, sdg.getModelAnnotations().get(3).describeAnnotation().size());
    assertEquals(5, sdg.getModelAnnotations().get(4).describeAnnotation().size());
    assertEquals(5, sdg.getModelAnnotations().get(5).describeAnnotation().size());
    assertEquals(5, sdg.getModelAnnotations().get(6).describeAnnotation().size());
  }