public void Given_AbstractValidatorWith1Rule_When_CheckingIfRuleCountIs1_Then_ValidationPass()
        {
            // Arrange
            var validation = new FakeValidator <int>();

            validation.Include(new FakeValidator <int>());

            //Act & Assert
            AssertExtension.NotThrows(() => validation.ShouldHaveRulesCount(1));
        }
        public void Given_AbstractValidatorWith1Rule_When_CheckingIfRuleCountIs2_Then_ValidationFail()
        {
            // Arrange
            var validation = new FakeValidator <int>();

            validation.Include(new FakeValidator <int>());

            //Act & Assert
            AssertExtension.Throws <XunitException>(() => validation.ShouldHaveRulesCount(2),
                                                    "(number of rules for object)");
        }