Yes there are 2 tests (shouldParseNamedIndexConstraint, shouldParseConstraints) that test out that code. However, I agree it would be nice to have a separate method that can be tested independently of the other parsing being done. I will update the PR.