public void CanSetCatalog() { var mapdoc = new HbmMapping(); var hbmJoin = new HbmJoin(); var mapper = new JoinMapper(typeof(MyClass), "AA", hbmJoin, mapdoc); mapper.Catalog("pizza"); hbmJoin.catalog.Should().Be("pizza"); }
public void CanSetCatalog() { var mapdoc = new HbmMapping(); var hbmJoin = new HbmJoin(); var mapper = new JoinMapper(typeof(MyClass), "AA", hbmJoin, mapdoc); mapper.Catalog("pizza"); Assert.That(hbmJoin.catalog, Is.EqualTo("pizza")); }