/**
  * @param int $countryId
  * @return array
  */
 public function getRegionsByCountry($countryId)
 {
     return $this->repository->findRegionsByCountry($countryId);
 }
 public function testFindRegionsByCountry()
 {
     $regions = $this->repository->findRegionsByCountry(1);
     $this->assertCount(2, $regions);
     $this->assertEquals([['id' => '1', 'country_id' => '1', 'country_code' => 'fr', 'country_label' => 'countries.france', 'name' => 'Île-de-France', 'latitude' => '75.366', 'longitude' => '125.84', 'created_at' => '2010-04-17 15:20:36'], ['id' => '2', 'country_id' => '1', 'country_code' => 'fr', 'country_label' => 'countries.france', 'name' => 'Normandie', 'latitude' => '63.465', 'longitude' => '113.252', 'created_at' => '2011-01-03 09:50:10']], $regions);
 }