A few improvements:
- Add a
readResource()
method inTestBase
that reads a file from src/test/resources and return a String. - Add a helper
CountDownLatch
inTestBase
, reduce the need for creating one every time you need. WithcountDown()
andawait()
method to work together().