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

            mapper.Access(Accessor.ReadOnly);
            hbm.Access.Should().Be("readonly");
        }