Coverage Summary for Class: GetWeatherForecastLocalUseCase (multi.platform.weather.shared.domain.weather.usecase)

Class Class, % Method, % Branch, % Line, % Instruction, %
GetWeatherForecastLocalUseCase 100% (1/1) 100% (3/3) 100% (4/4) 100% (15/15)


 package multi.platform.weather.shared.domain.weather.usecase
 
 import multi.platform.core.shared.domain.common.usecase.CoreUseCase
 import multi.platform.weather.shared.domain.weather.WeatherRepository
 import multi.platform.weather.shared.domain.weather.entity.WeatherForecast
 
 class GetWeatherForecastLocalUseCase(
     private val weatherRepository: WeatherRepository,
 ) : CoreUseCase {
     override suspend fun call(vararg args: Any?): WeatherForecast =
         weatherRepository.getWeatherForecastLocal(args[0] as String?)
 
     override suspend fun onError(e: Exception) {
         throw e
     }
 }