private void BigComplexTest(string bindingName) { BigContract bigContract; using (var client = new TestServiceClient(bindingName)) { //client.InnerChannel.OperationTimeout = TimeSpan.FromSeconds(5); bigContract = client.GetDataUsingBigDataContract(BigContract); } Assert.IsNotNull(bigContract); Assert.IsNotNull(bigContract.CompositeTypes); foreach (var compositeType in bigContract.CompositeTypes) { AssertComposite(compositeType); } }
private void BigComplexTest(string bindingName) { BigContract bigContract; using (var client = new TestServiceClient(bindingName)) { //client.InnerChannel.OperationTimeout = TimeSpan.FromSeconds(5); bigContract = client.GetDataUsingBigDataContract(BigContract); } Assert.IsNotNull(bigContract); Assert.IsNotNull(bigContract.CompositeTypes); foreach (var compositeType in bigContract.CompositeTypes) { AssertComposite(compositeType); } }