Reads fixtures beneath one explicit root, rejecting paths that escape it.
val fixtures = FixtureDirectory(File("src/test/fixtures"))val json = fixtures.text("responses/videos.json")
The directory containing the fixtures; it need not exist yet.
Loads bytes from a relative path beneath root.
Loads a UTF-8 text fixture, preserving whitespace.