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"); }
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")); }