This method will test each of the Region object's instance properties for each row of data in the test data file.
The Region business object test class is under construction. The DeleteTheObject test should be complete.
This automates the running of the tests for each row in the data file. It is simple and straight-forward, leaving no doubt as to what tests are run or which data is used for the tests.
There is not much going on here because the work has all been done elsewhere. We populated the dataset in the constructor, and we built all of the tests already. Other than a little fussing to make sure the loop syntax is correct, the only real chore is to put the tests in the right order.
A class variable is used to hold the test row. What are the pros and cons of using a class variable compared to passing a test row as a parameter to each of our test routines?
Previous Step: Build the Object Delete Test
Next Step: Build the Object Delete Test