public void CanSetInsert() { var mapdoc = new HbmMapping(); var component = new HbmDynamicComponent(); var mapper = new DynamicComponentMapper(component, For<Person>.Property(p => p.Info), mapdoc); mapper.Insert(false); Assert.That(component.insert, Is.False); }