Use a class to define your Preconditions.
You don’t pollute your test class with methods not related explicitly to your tests and avoid boilerplate code.
- encapsulates the Condition(s)
while making your code
Can apply to any conditions you would like to encapsulate really.
Disclaimer: It’s a trivial example to make you think of an alternative way to apply pre/post conditions to your tests.