public void CanSetInsert() { var mapdoc = new HbmMapping(); var component = new HbmComponent(); var mapper = new ComponentMapper(component, typeof(Name), ConfOrm.ForClass <Person> .Property(p => p.Name), mapdoc); mapper.Insert(false); component.insert.Should().Be.False(); }