public async Task ValidFile_ConsecutiveCalls_ShouldSkipSecondFetch()
        {
            var instance = new AzureStorageService(ValidSourceWithSignedUri(), NullLoggerFactory.Instance);
            var content1 = await instance.FetchData(null);

            Assert.True(content1.HasResult, "Invalid object detected");
            var content2 = await instance.FetchData(content1.Version);

            Assert.False(content2.HasResult, "Fetch must not have place is same version is detected");
        }
        public async Task InvalidFile_UsingBlobWithSignedUri_ShouldReturnError()
        {
            var instance = new AzureStorageService(InvalidSource(), NullLoggerFactory.Instance);
            var content  = await instance.FetchData(null);

            Assert.True(content.SyncError && !content.HasResult, "Response must be invalid");
        }
        public async Task ValidFile_UsingBlobWithSignedUri_ShouldReturnValidConfiguration()
        {
            var instance = new AzureStorageService(ValidSourceWithSignedUri(), NullLoggerFactory.Instance);
            var content  = await instance.FetchData(null);

            Assert.True(content.HasResult, "Error while fetching data from a SignedUri");
            Assert.True(content.Configuration != null, "Error while deserializing data from a SignedUri");
        }