Google\Cloud\Tests\BigQuery\JobTest::testCancel PHP Method

testCancel() public method

public testCancel ( )
    public function testCancel()
    {
        $this->connection->cancelJob(Argument::any())->willReturn([])->shouldBeCalledTimes(1);
        $job = $this->getJob($this->connection);
        $this->assertNull($job->cancel());
    }