Beispiel #1
0
        public void GetPropertiesNotMapped_ReturnProperties_Success()
        {
            ExpressionMapper.Initialize();
            PropertiesNotMapped actual = ExpressionMapper.GetPropertiesNotMapped <ClassSource, ClassDest>();

            Assert.True(actual.SourceProperties.Count > 0);
            Assert.True(actual.TargetProperties.Count > 0);
        }
        public void GetPropertiesNotMapped_ReturnProperties_Success()
        {
            PropertiesNotMapped actual = null;

            Mapper.Initialize();
            actual = Mapper.GetPropertiesNotMapped <ClassSource, ClassDest>();
            Assert.IsTrue(actual.SourceProperties.Count > 0);
            Assert.IsTrue(actual.TargetProperties.Count > 0);
        }