public void MultipleMembersDuplicateOrderAttributeShouldThrowTest()
        {
            var order = new MutlipleMembersDuplicateOrderClass();

#if TESTASYNC
            Assert.Throws <AggregateException>(() => Roundtrip(order));
#else
            Assert.Throws <InvalidOperationException>(() => Roundtrip(order));
#endif
        }
        public void MultipleMembersDuplicateOrderAttributeShouldThrowTest()
        {
            var order = new MutlipleMembersDuplicateOrderClass();

            Roundtrip(order);
        }
Example #3
0
 public void MultipleMembersDuplicateOrderAttributeShouldThrowTest()
 {
     var order = new MutlipleMembersDuplicateOrderClass();
     Roundtrip(order);
 }