Trying to do TDD against FluentValidation and Looking for the proper way to represent a list of US States.
For example, I have an "Address" object.
I would like to write a test (and a FluentValidation rule) that declares the address invalid if it's not in a list of US States.
This is a finite list, only to include the 50 US States, so I think it should be something constant and not represented in a database.
What I'm wondering is, what is the most efficient way to store and validate/test against this? An enum, an array, a list object, what?