public void WhenSetFetchModeToSelectThenResetFetch() { var hbmMapping = new HbmMapping(); var member = typeof(MyClass).GetProperty("Relation"); var mapping = new HbmManyToOne(); var mapper = new ManyToOneMapper(member, mapping, hbmMapping); mapper.Fetch(FetchMode.Select); mapping.fetch.Should().Be(HbmFetchMode.Select); mapping.fetchSpecified.Should().Be.False(); }