public function testLoadLocationDataByContent($field, $value) { $this->insertDatabaseFixture(__DIR__ . '/_fixtures/full_example_tree.php'); $gateway = $this->getLocationGateway(); $locationsData = $gateway->loadLocationDataByContent(75); $this->assertCount(1, $locationsData); $locationRow = reset($locationsData); $this->assertEquals($value, $locationRow[$field]); }