public void openConnection_SuccessTest() { // given var connectionStringBuilder = new BigQueryConnectionStringBuilder(); // when using BigQueryConnection connection = new BigQueryConnection(connectionStringBuilder.ToString()); connection.Open(); // then Assert.AreEqual(ConnectionState.Open, connection.State); }
public void Get_DataSets_SuccessTest() { // given var connectionString = new BigQueryConnectionStringBuilder().ToString(); using BigQueryConnection connection = new BigQueryConnection(connectionString); connection.Open(); // when string[] dataSetNames = connection.GetDataSetNames(); // then Assert.IsNotEmpty(dataSetNames); }