public void GetTable() { var projectId = "project"; var datasetId = "dataset"; var tableId = "table"; var service = new FakeBigqueryService(); var client = new BigQueryClientImpl(projectId, service); var reference = client.GetTableReference(projectId, datasetId, tableId); service.ExpectRequest( service.Tables.Get(projectId, datasetId, tableId), new Table { TableReference = reference }); var result = client.GetTable(reference); Assert.Equal(projectId, result.Reference.ProjectId); Assert.Equal(datasetId, result.Reference.DatasetId); Assert.Equal(tableId, result.Reference.TableId); }