public void Test()
        {
            string filename = "companyData.json";
              List<Company> expected;
              List<Company> actual;

              try
              {
            var file = "../../../Stocks.Service/companyData.json";
            var configurationService = new ConfigurationService(file);
            expected = configurationService.GetCompanies();

            var worker = new FileSerializer();
            worker.SerializeJson(filename, expected);

            actual = worker.DeserializeJson<Company>(filename);
              }
              finally
              {
            if (File.Exists(filename))
              File.Delete(filename);
              }

              Assert.Equal(expected.Count, actual.Count);

              for (int i = 0; i < actual.Count; i++)
              {
            Assert.Equal(expected[i].Symbol, actual[i].Symbol);
            Assert.Equal(expected[i].Name, actual[i].Name);
              }
        }