validators-case I did this case as an assignment when applying for a position with a potential employer. A good place to start looking is StringValidatorTest. It shows the DSL for configuring validations in action. All development was test-driven.