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); }