CarbonMetadata { public static CarbonMetadata getInstance() { return CARBONMETADATAINSTANCE; } private  CarbonMetadata(); static CarbonMetadata getInstance(); void removeTable(String tableUniquName); void addCarbonTable(CarbonTable carbonTable); void loadTableMetadata(TableInfo tableInfo); CarbonTable getCarbonTable(String tableUniqueName); int getNumberOfTables(); String convertToLowerCase(String table); CarbonDimension getCarbonDimensionBasedOnColIdentifier(CarbonTable carbonTable,
      String columnIdentifier);  }
@Test public void testOnlyOneInstanceIsCreatedofCarbonMetadata() { CarbonMetadata carbonMetadata1 = CarbonMetadata.getInstance(); assertTrue(carbonMetadata == carbonMetadata1); }