public void ListJobs() { var projectId = "project"; var jobId = "job"; var service = new FakeBigqueryService(); var client = new BigQueryClientImpl(projectId, service); var projectReference = client.GetProjectReference(projectId); var jobReference = client.GetJobReference(projectId, jobId); service.ExpectRequest( service.Jobs.List(projectId), new JobList { Jobs = new[] { new JobsData { JobReference = jobReference } } }); var result = client.ListJobs(projectReference); var job = result.Single(); Assert.Equal(projectId, job.Reference.ProjectId); Assert.Equal(jobId, job.Reference.JobId); }