Exemplo n.º 1
0
        public void PrivateSetterTest()
        {
            var expected = new PrivateSetterClass();

#if TESTASYNC
            Assert.ThrowsException <AggregateException>(() => Roundtrip(expected));
#else
            Assert.ThrowsException <InvalidOperationException>(() => Roundtrip(expected));
#endif
        }
        public void PrivateSetterTest()
        {
            var expected = new PrivateSetterClass();

            Roundtrip(expected);
        }
Exemplo n.º 3
0
 public void PrivateSetterTest()
 {
     var expected = new PrivateSetterClass();
     Roundtrip(expected);
 }