Created
December 31, 2018 15:27
-
-
Save fievx/60bd1b79f807d866eb12e1b06cd1d7c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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