Google\Cloud\Tests\Snippets\Datastore\GeoPointTest::testLongitude PHP Méthode

testLongitude() public méthode

public testLongitude ( )
    public function testLongitude()
    {
        $snippet = $this->snippetFromMethod(GeoPoint::class, 'longitude');
        $snippet->addLocal('point', $this->gp);
        $res = $snippet->invoke('longitude');
        $this->assertEquals($this->point['longitude'], $res->returnVal());
    }