AWSSDK.UnitTests.PollyTests.MakeSureGeneratePresignedUrlGetsUpdated C# (CSharp) Метод

MakeSureGeneratePresignedUrlGetsUpdated() приватный Метод

private MakeSureGeneratePresignedUrlGetsUpdated ( ) : void
Результат void
        public void MakeSureGeneratePresignedUrlGetsUpdated()
        {
            var expectedPropertyNames = new HashSet<string>()
            {
                "LexiconNames",
                "OutputFormat",
                "SampleRate",
                "Text",
                "TextType",
                "VoiceId"
            };
            var actualPropertyNames = new HashSet<string>(typeof(SynthesizeSpeechRequest).GetProperties().Select(p => p.Name).ToArray());

            Assert.IsTrue(expectedPropertyNames.SetEquals(actualPropertyNames),
                "You need to update SynthesizeSpeechUtil.GeneratePresignedUrl and the expectedPropertyNames variable above.");
        }