Google\Cloud\Tests\BigQuery\TimestampTest::testGetsType PHP Method

testGetsType() public method

public testGetsType ( )
    public function testGetsType()
    {
        $timestamp = new Timestamp(new \DateTime());
        $this->assertEquals('TIMESTAMP', $timestamp->type());
    }