示例#1
0
        public void MapObject_ClassMapFactory_ReturnsExpected()
        {
            var map = new TestClassMap(FallbackStrategy.ThrowIfPrimitive);
            ExcelClassMap <string> mapping = map.MapObject(t => t.Value);

            Assert.Empty(mapping.Properties);
        }
        public void MapObject_ClassMapFactory_ReturnsExpected()
        {
            var map = new TestClassMap(FallbackStrategy.ThrowIfPrimitive);
            ObjectExcelPropertyMap <string> mapping = map.MapObject(t => t.Value);

            Assert.NotNull(mapping.ClassMap);
        }