Thank you for contacting us.
It depends how you have implemented your logic.
If every test creates its own instance of the utility class every time the variables will be reset.
If you are changing the variables directly in the class they won't be reset.
Hope this helps.