Beispiel #1
0
 public void TestTagWithoutInference()
 {
     Program.ExpectFailure<InvalidOperationException>(() =>
     {
         TagDataWithoutInfer data = new TagDataWithoutInfer();
         Serializer.DeepClone(data);
     });
 }
 public void TestTagWithoutInference()
 {
     Program.ExpectFailure<InvalidOperationException>(() =>
     {
         TagDataWithoutInfer data = new TagDataWithoutInfer();
         Serializer.DeepClone(data);
     });
 }
Beispiel #3
0
        public void TestTagWithoutInference()
        {
            TagDataWithoutInfer data = new TagDataWithoutInfer();

            Serializer.DeepClone(data);
        }
Beispiel #4
0
        public void TestTagWithoutInference()
        {
            TagDataWithoutInfer data = new TagDataWithoutInfer();

            Assert.That(() => Serializer.DeepClone(data), Throws.TypeOf <ArgumentException>().With.Message.Contains("Bravo").Or.With.Message.Contains("Delta"));
        }
 public void TestTagWithoutInference()
 {
     TagDataWithoutInfer data = new TagDataWithoutInfer();
     Serializer.DeepClone(data);
 }