Esempio n. 1
0
        public void CanChangeAccessor()
        {
            var hbm = new HbmIdbag {
                name = "Children"
            };
            var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);

            mapper.Access(Accessor.Field);

            Assert.That(hbm.Access, Is.Not.Null);
        }
Esempio n. 2
0
        public void CanChangeAccessor()
        {
            var hbm = new HbmIdbag {
                name = "Children"
            };
            var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);

            mapper.Access(Accessor.Field);

            hbm.Access.Should().Not.Be.Null();
        }
		public void CanChangeAccessor()
		{
			var hbm = new HbmIdbag { name = "Children" };
			var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);
			mapper.Access(Accessor.Field);

			hbm.Access.Should().Not.Be.Null();
		}
		public void CanChangeAccessor()
		{
			var hbm = new HbmIdbag { name = "Children" };
			var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);
			mapper.Access(Accessor.Field);

			Assert.That(hbm.Access, Is.Not.Null);
		}