I am testing a class in a loop, where each iteration of the loop will start a new test case.
Each iteration of the loop needs to start with the class in it's initial state.
The code below instantiates and destroys the 'a' object in the loop.
This insures that the object's non-static variables are in initial state.
But the static variable values persist.
Is there a way to force the class or it's static variables to reinitialize?
Changing the classes being tested is not an option.