@Test(groups = "wso2.das", description = "Get table list", dependsOnMethods = "getTableSchema")
 public void listTables() throws Exception {
   AnalyticsTable table2Version1 = getAnalyticsTable2Version1();
   persistenceClient.addAnalyticsTable(table2Version1);
   Thread.sleep(15000);
   String[] tables = webServiceClient.listTables();
   Assert.assertNotNull(tables, "Return null array");
   Assert.assertTrue(
       Arrays.asList(tables).contains(TABLE1.replace('.', '_').toUpperCase()),
       "Table1 name does not return");
   Assert.assertTrue(
       Arrays.asList(tables).contains(TABLE2.replace('.', '_').toUpperCase()),
       "Table2 name does not return");
 }
 @Test(
     groups = "wso2.das",
     description = "Check get table schema",
     dependsOnMethods = "addStreamDefinition")
 public void getTableSchema() throws Exception {
   AnalyticsTable table1Version1 = getAnalyticsTable1Version1();
   persistenceClient.addAnalyticsTable(table1Version1);
   Thread.sleep(15000);
   AnalyticsSchemaBean tableSchema = webServiceClient.getTableSchema(TABLE1.replace('.', '_'));
   Assert.assertNotNull(table1Version1, "Getting null table schema object");
   Assert.assertEquals(tableSchema.getColumns().length, 3, "Getting invalid column count");
   Assert.assertEquals(
       tableSchema.getPrimaryKeys().length, 1, "Getting invalid primary key count");
 }