public void CanSetScale() { var hbm = new HbmColumn(); var mapper = new ColumnMapper(hbm, "aColumn"); mapper.Scale(3); hbm.scale.Should().Be("3"); mapper.Executing(m => m.Scale(0)).NotThrows(); mapper.Executing(m => m.Scale(-1)).Throws <ArgumentOutOfRangeException>(); }