public async Task CheckForUpdates_CurrentVersionIsLatest()
        {
            var fakeService = new FakeICheckForUpdates(
                new KeyValuePair <UpdateStatus, string>(UpdateStatus.CurrentVersionIsLatest, string.Empty));

            var actionResult = await new HealthCheckForUpdatesController(fakeService).CheckForUpdates() as ObjectResult;

            Assert.AreEqual(200, actionResult.StatusCode);
        }
        public async Task CheckForUpdates_NoReleasesFound()
        {
            var fakeService = new FakeICheckForUpdates(
                new KeyValuePair <UpdateStatus, string>(UpdateStatus.NoReleasesFound, string.Empty));

            var actionResult = await new HealthCheckForUpdatesController(fakeService).CheckForUpdates() as ObjectResult;

            Assert.AreEqual(206, actionResult.StatusCode);
        }