public async Task DropTableTest() { var tableName = "testingTable" + HelperObjectFactory.GetRandomInt(0); DatabaseWrapper.ExecuteSql($"CREATE TABLE {tableName}(a,b);"); await DatabaseWrapper.DropTableAsync(tableName); Assert.IsFalse(DatabaseWrapper.TableExists(tableName)); }
private static async Task TearDownTestAsync() { using (DatabaseWrapper) { await DatabaseWrapper.DropTableAsync(TableName); DatabaseWrapper.Close(); DatabaseWrapper.Destroy(DBPath); } }