public async Task When_GetDataUrl()
        {
            LogoSource image = null;

            try
            {
                image = new LogoSource(new Uri(Helpers.Sample));
                var dataUrl = await image.GetDataUrlAsync();

                Assert.IsTrue(dataUrl == Helpers.DataUrl);
            }
            finally
            {
                image?.Dispose();
            }
        }
        public async Task When_GetDataUrl()
        {
            LogoSource image = null;

            try
            {
                var directData = await PrepareDataAsync().ConfigureAwait(false);

                var imageStream = new MemoryStream(directData);
                image = new LogoSource(imageStream);

                var dataUrl = await image.GetDataUrlAsync();

                Assert.IsTrue(dataUrl == Helpers.DataUrl);
                imageStream.Dispose();
            }
            finally
            {
                image?.Dispose();
            }
        }
        public async Task When_GetDataUrl()
        {
            LogoSource image = null;

            try
            {
                using var wc = new WebClient();
                byte[] directData = wc.DownloadData(Helpers.Sample);

                using var imageStream = new MemoryStream(directData);
                image = new LogoSource(imageStream);

                var dataUrl = await image.GetDataUrlAsync();

                Assert.IsTrue(dataUrl == Helpers.DataUrl);
            }
            finally
            {
                image?.Dispose();
            }
        }