/// <summary>
        /// Determines whether this instance can get the specified value.
        /// </summary>
        // TODO re-add [Fact]
        public async Task GetTest()
        {
            var listResult = await _gateway.ListAsync().ConfigureAwait(false);

            Assert.NotNull(listResult);
            Assert.NotEmpty(listResult);
            Assert.True(listResult.Count >= 3);
        }
Beispiel #2
0
        /// <summary>
        /// Executes this instance.
        /// </summary>
        /// <returns>
        /// The list of Google file settings.
        /// </returns>
        public async Task <IList <GoogleFileSettingDomain> > Execute()
        {
            var settings = await _googleFileSettingGateway.ListAsync().ConfigureAwait(false);

            return(GoogleFileSettingFactory.ToDomain(settings));
        }