public void SetInverse() { var hbm = new HbmIdbag(); var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm); mapper.Inverse(true); hbm.Inverse.Should().Be.True(); mapper.Inverse(false); hbm.Inverse.Should().Be.False(); }
public void SetInverse() { var hbm = new HbmIdbag(); var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm); mapper.Inverse(true); Assert.That(hbm.Inverse, Is.True); mapper.Inverse(false); Assert.That(hbm.Inverse, Is.False); }