/** * @dataProvider sampleCoordinates * * @param string $x * @param string $y */ public function testXYGettersReturnSetterInjectedValues($x, $y) { $geo = new CultureFeed_Cdb_Data_Address_GeoInformation('4,7139', '50,88162'); $geo->setXCoordinate($x); $geo->setYCoordinate($y); $this->assertEquals($x, $geo->getXCoordinate()); $this->assertEquals($y, $geo->getYCoordinate()); }