public async Task SerializeExceptionTest()
        {
            using MemoryStream stream = new MemoryStream();
            SoapSerializer serializer = new SoapSerializer("http://tempuri.org/")
            {
                Indent = true
            };

            TestContext.WriteLine(await serializer.SerializeException(new DirectoryNotFoundException("The directory was not found.")));

            Assert.Pass();
        }
        public async Task SerializeExceptionTest2()
        {
            using MemoryStream stream = new MemoryStream();
            SoapSerializer serializer = new SoapSerializer("http://tempuri.org/")
            {
                Indent = true
            };

            try
            {
                Uri uri = new Uri("httpx://]");
            }
            catch (Exception ex)
            {
                TestContext.WriteLine(await serializer.SerializeException(ex));
            }

            Assert.Pass();
        }