public virtual void Setup()
        {
            MockSiteSettings  = new Mock <ISiteSettings>();
            MockSiteConnector = new Mock <ISiteConnector>();
            MockFormMapper    = new Mock <IFormMapper>();
            MockLogger        = new Mock <ILog>();

            _siteManifests = new ServiceConfiguration();


            HttpsTestsite = $"{SupportServiceIdentity.SupportEmployerAccount}|https://testsite/";

            TestSiteManifest = new EmployerAccountSiteManifest();

            _siteManifests.Add(TestSiteManifest);


            TestSites = HttpsTestsite;

            MockSiteSettings.SetupGet(x => x.BaseUrls)
            .Returns(TestSites);

            TestSiteUri = TestSites.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries)
                          .Where(x => !string.IsNullOrWhiteSpace(x))
                          .Select(x => x.Split(new [] { '|' }, StringSplitOptions.RemoveEmptyEntries))
                          .Select(x => new Uri(x[1])).First();

            TestSiteUri = new Uri($"{TestSiteUri}api/manifest");

            MockSiteConnector.Setup(x => x.Download <SiteManifest>(TestSiteUri)).ReturnsAsync(TestSiteManifest);

            Unit = new ApplicationServices.Services.ManifestRepository(
                MockSiteSettings.Object,
                MockSiteConnector.Object,
                MockFormMapper.Object,
                MockLogger.Object, _siteManifests);
        }