public void GetPropertyInfo_PropertyNotImplementedExceptionDefault()
        {
            PropertyInfo actual = null;
            MapperConfigurationTestContainer       expected = new MapperConfigurationTestContainer();
            Expression <Func <ClassDest, object> > exp      = x => null;

            actual = expected.GetPropertyInfoTest(exp);
        }
        public void GetPropertyInfo_PropertyFound_Success()
        {
            MapperConfigurationTestContainer         expected = new MapperConfigurationTestContainer();
            Expression <Func <ClassSource, object> > exp      = x => x.PropInt1;
            var actual = expected.GetPropertyInfoTest(exp);

            Assert.Equal(actual.Name, "PropInt1");
        }
 public void GetPropertyInfo_PropertyNotImplementedException()
 {
     Assert.Throws <NotImplementedException>(() =>
     {
         PropertyInfo actual = null;
         MapperConfigurationTestContainer expected  = new MapperConfigurationTestContainer();
         Expression <Func <ClassDest, object> > exp = x => x.PropInt1 > 0;
         actual = expected.GetPropertyInfoTest(exp);
     });
 }
        public void GetPropertyInfo_PropertyNotImplementedExceptionDefault()
        {
            PropertyInfo actual = null;
            MapperConfigurationTestContainer expected = new MapperConfigurationTestContainer();
            Expression<Func<ClassDest, object>> exp = x => null;

            actual = expected.GetPropertyInfoTest(exp);

        }
        public void GetPropertyInfo_PropertyFound_Success()
        {
            PropertyInfo actual = null;
            MapperConfigurationTestContainer expected = new MapperConfigurationTestContainer();
            Expression<Func<ClassSource, object>> exp = x => x.PropInt1;
            actual = expected.GetPropertyInfoTest(exp);

            Assert.AreEqual(actual.Name, "PropInt1");

        }