コード例 #1
0
        public void MultipleMembersDuplicateOrderAttributeShouldThrowTest()
        {
            var order = new MutlipleMembersDuplicateOrderClass();

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

            Roundtrip(order);
        }
コード例 #3
0
 public void MultipleMembersDuplicateOrderAttributeShouldThrowTest()
 {
     var order = new MutlipleMembersDuplicateOrderClass();
     Roundtrip(order);
 }