Skip to content

Instantly share code, notes, and snippets.

@fievx
Created December 31, 2018 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fievx/60bd1b79f807d866eb12e1b06cd1d7c0 to your computer and use it in GitHub Desktop.
Save fievx/60bd1b79f807d866eb12e1b06cd1d7c0 to your computer and use it in GitHub Desktop.
class MockResponseFileReader(path: String) {
val content: String
init {
val reader = InputStreamReader(this.javaClass.classLoader.getResourceAsStream(path))
content = reader.readText()
reader.close()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment