| File: WSTrustChannelTest.cs | Web Access |
| Project: src\src\System.ServiceModel.Federation\tests\System.ServiceModel.Federation.Tests.csproj (System.ServiceModel.Federation.Tests) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Infrastructure.Common; using Xunit; namespace System.ServiceModel.Federation.Tests { public static class WSTrustChannelTest { [WcfFact] public static void WSTrustChannelParameters() { try { WSTrustChannel trustChannel = new WSTrustChannel(null); } catch(Exception ex) { Assert.Equal(typeof(ArgumentNullException), ex.GetType()); } } } }