package com.felipecosta.kotlinrxjavasample.utils

import android.support.test.InstrumentationRegistry

fun readAsset(fileName: String) = InstrumentationRegistry.getContext()
        .assets
        .open(fileName)
        .bufferedReader()
        .use { it.readText() }
Create an function that reads assets from instrumentation tests
Create an function that reads assets from instrumentation tests

fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android