public void CreateFunctionForEmptyStruct()
        {
            var mapper = new GenericMapper();
            var func = (Func<ICfgNode, EmptyStruct>)mapper.CreateFunction(typeof(EmptyStruct), null);
            var result = func(null);

            Assert.AreEqual(new EmptyStruct(), result);
        }
        public void CreateFunctionForEmptyClass()
        {
            var mapper = new GenericMapper();
            var func = (Func<ICfgNode, EmptyClass>)mapper.CreateFunction(typeof(EmptyClass), null);
            var result = func(null);

            Assert.NotNull(result);
        }
 public void CreateFunctionForTestStruct()
 {
     var mapper = new GenericMapper();
     mapper.CreateFunction(typeof(TestStruct), null);
 }