public void CanSetNotFoundWithIgnoreMode()
        {
            var hbmMapping = new HbmMapping();
            var member = typeof(MyClass).GetProperty("Relation");
            var hbm = new HbmManyToOne();
            var mapper = new ManyToOneMapper(member, hbm, hbmMapping);

            mapper.NotFound(NotFoundMode.Ignore);

            hbm.notfound.Should().Be(HbmNotFoundMode.Ignore);
        }
		public void CanSetNotFoundWithIgnoreMode()
		{
			var hbmMapping = new HbmMapping();
			var member = typeof(MyClass).GetProperty("Relation");
			var hbm = new HbmManyToOne();
			var mapper = new ManyToOneMapper(member, hbm, hbmMapping);

			mapper.NotFound(NotFoundMode.Ignore);

			Assert.That(hbm.notfound, Is.EqualTo(HbmNotFoundMode.Ignore));
		}