public function testCancelsJob() { $job = self::$client->runQueryAsJob(sprintf('SELECT * FROM [%s.%s]', self::$dataset->id(), self::$table->id())); $job->cancel(); }