https://kotlinlang.org logo
#mockk
Title
# mockk
j

Joan Colmenero

07/03/2019, 7:31 PM
And then I have a repository that does this
Copy code
class CryptoListRepositoryImpl(var cryptoCurrencyService: CryptoCurrencyService) : CryptoListRepository {
    override fun getResultData(): Single<CryptoResponse> {
        return cryptoCurrencyService.getCryptoCurrency()
    }
}
do I have to unit test this
getResultData()
?