public void GetJob() { var projectId = "project"; var jobId = "job"; var service = new FakeBigqueryService(); var client = new BigqueryClientImpl(projectId, service); var reference = client.GetJobReference(projectId, jobId); service.ExpectRequest( service.Jobs.Get(projectId, jobId), new Job { JobReference = reference }); var result = client.GetJob(reference); Assert.Equal(projectId, result.Reference.ProjectId); Assert.Equal(jobId, result.Reference.JobId); }