CarbonMetadata { public int getNumberOfTables() { return tableInfoMap.size(); } 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 testNumberOfTablesPresentInTheMetadata() { assertEquals(1, carbonMetadata.getNumberOfTables()); }