Exemplo n.º 1
0
        public void CanSetSchema()
        {
            var mapdoc  = new HbmMapping();
            var hbmJoin = new HbmJoin();
            var mapper  = new JoinMapper(typeof(MyClass), "AA", hbmJoin, mapdoc);

            mapper.Schema("pizza");
            hbmJoin.schema.Should().Be("pizza");
        }
Exemplo n.º 2
0
        public void CanSetSchema()
        {
            var mapdoc  = new HbmMapping();
            var hbmJoin = new HbmJoin();
            var mapper  = new JoinMapper(typeof(MyClass), "AA", hbmJoin, mapdoc);

            mapper.Schema("pizza");
            Assert.That(hbmJoin.schema, Is.EqualTo("pizza"));
        }