public static void Initialize(TestContext context)
        {
            var cityFileContent = File.ReadAllText("TestData.json");
            var cities          = JsonConvert.DeserializeObject <List <City> >(cityFileContent);

            CityRepositoryMock.InitializeCities(cities);
            IndexedCityRepositoryMock.InitializeCities(cities);

            searchEngine = new CitySearchEngine(
                new CityRepositoryMock(),
                new IndexedCityRepositoryMock(),
                new CityNameMatchScorer(),
                new LocationMatchScorer());
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CitiesController" /> class
 /// </summary>
 /// <param name="searchEngine">The search engine instance</param>
 public CitiesController(CitySearchEngine searchEngine)
 {
     this.searchEngine = searchEngine;
 }