private static void ValidatorShouldThrow(SelectExpandClause selectExpandClause, string expectedMessage, int maxDepth = 100, int maxCount = 100)
        {
            var    testSubject = new ExpandDepthAndCountValidator(maxDepth, maxCount);
            Action validate    = () => testSubject.Validate(selectExpandClause);

            validate.ShouldThrow <ODataException>().WithMessage(expectedMessage);
        }
        private static void ValidatorShouldNotThrow(SelectExpandClause selectExpandClause, int maxDepth = 100, int maxCount = 100)
        {
            var testSubject = new ExpandDepthAndCountValidator(maxDepth, maxCount);

            testSubject.Validate(selectExpandClause);
        }