title: How to read a text-file resource into Java unit test?
body: <p>I have a unit test that needs to work with XML file located in <code>src/test/resources/abc.xml</code>. What is the easiest way just to get the content of the file into <code>String</code>?</p>