From 6ee5984b5038b6de667d05dfb2cea54f498cc033 Mon Sep 17 00:00:00 2001 From: v-carwan Date: Wed, 18 Sep 2019 14:13:10 +0800 Subject: [PATCH] Unit test for SecurityBindingElement.KeyEntropyMode. --- .../tests/ServiceModel/SecutityBindingElementTest.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/System.ServiceModel.Security/tests/ServiceModel/SecutityBindingElementTest.cs b/src/System.ServiceModel.Security/tests/ServiceModel/SecutityBindingElementTest.cs index 54a85585782..988e97fee18 100644 --- a/src/System.ServiceModel.Security/tests/ServiceModel/SecutityBindingElementTest.cs +++ b/src/System.ServiceModel.Security/tests/ServiceModel/SecutityBindingElementTest.cs @@ -35,4 +35,11 @@ public static void Property_DefaultAlgorithmSuite() TransportSecurityBindingElement securityBindingElement = new TransportSecurityBindingElement(); Assert.Equal(securityBindingElement.DefaultAlgorithmSuite, SecurityAlgorithmSuite.Basic256); } + + [WcfFact] + public static void Property_KeyEntropyMode() + { + TransportSecurityBindingElement securityBindingElement = new TransportSecurityBindingElement(); + Assert.Equal(securityBindingElement.KeyEntropyMode, SecurityKeyEntropyMode.CombinedEntropy); + } }