public class FixtureHelpers extends Object
Modifier and Type | Method and Description |
---|---|
static String |
fixture(String filename)
Reads the given fixture file from the classpath (e.
|
public static String fixture(String filename)
src/test/resources
)
and returns its contents as a UTF-8 string.filename
- the filename of the fixture filesrc/test/resources/{filename}
IllegalArgumentException
- if an I/O error occurs.Copyright © 2011. All rights reserved.