Beispiel #1
0
        // [TestCase(typeof(CircularDependencyInModelError))]
        public void TestError(Type type)
        {
            var serializer = new ReflectionSerializers();
            var activator  = new ReflectionRdActivator(serializer, null);
            var exception  = Assert.Throws <Assertion.AssertionException>(() => activator.ActivateRdExt(type));

            Console.WriteLine(exception);
        }
Beispiel #2
0
 public void TestActivation(Type type)
 {
     var serializer      = new ReflectionSerializers();
     var activator       = new ReflectionRdActivator(serializer, null);
     var activateRdModel = activator.ActivateRdExt(type);
 }