Coverage Summary for Class: GetCurrenciesUseCase (com.georgeci.moneysurfer.domain.usecase)

Class Class, % Method, % Branch, % Line, % Instruction, %
GetCurrenciesUseCase 100% (1/1) 100% (2/2) 100% (3/3) 100% (8/8)


 package com.georgeci.moneysurfer.domain.usecase
 
 import com.georgeci.moneysurfer.domain.model.Currency
 import com.georgeci.moneysurfer.domain.repositories.CurrencyRepository
 import kotlinx.coroutines.flow.Flow
 import org.koin.core.annotation.Single
 
 @Single
 class GetCurrenciesUseCase(
     private val currencyRepository: CurrencyRepository,
 ) {
     operator fun invoke(): Flow<List<Currency>> = currencyRepository.getAll()
 }