1 instantiation of TestFaultContractInfosBehavior
Contract.Fault.IntegrationTests (1)
FaultExceptionTests.cs (1)
33
client.Endpoint.EndpointBehaviors.Add(new
TestFaultContractInfosBehavior
());
7 references to TestFaultContractInfosBehavior
Contract.Fault.IntegrationTests (7)
FaultExceptionTests.cs (7)
42
Assert.True(
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp != null, "Expected testFaultWithKnownTypeClientOp is NOT null");
43
Assert.True(
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp.FaultContractInfos.Count == 1, string.Format("expected FaultContractInfos count is 1, actual: {0}",
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp.FaultContractInfos.Count));
44
Assert.True(
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp.FaultContractInfos[0].Action == action, string.Format("expected FaultContractInfo Action is {0}, actual: {1}", action,
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp.FaultContractInfos[0].Action));
45
Assert.True(
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp.FaultContractInfos[0].Detail == detail, string.Format("expected FaultContractInfo Detail is {0}, actual: {1}", detail.ToString(),
TestFaultContractInfosBehavior
.testFaultWithKnownTypeClientOp.FaultContractInfos[0].Detail.ToString()));