[java] How to read a text-file resource into Java unit test?