Example #1
0
        public void SetInverse()
        {
            var mapdoc = new HbmMapping();
            var hbm    = new HbmMap();
            var mapper = new MapMapper(typeof(Animal), typeof(string), typeof(Animal), hbm, mapdoc);

            mapper.Inverse(true);
            hbm.Inverse.Should().Be.True();
            mapper.Inverse(false);
            hbm.Inverse.Should().Be.False();
        }