public void ValidateTest()
        {
            var model = new MaxModelTest
            {
                Nilai = 10,
            };

            Assert.IsTrue(validator.Validate(model));
        }
        public void GetErrorMessageTest()
        {
            var model = new MaxModelTest
            {
                Nilai = 120,
            };

            Assert.IsInstanceOfType(validator.Validate(model), typeof(bool));
            Assert.IsFalse(validator.Validate(model));
        }