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

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


 package com.georgeci.moneysurfer.domain.usecase
 
 import com.georgeci.moneysurfer.domain.primitives.ClockUseCase
 import org.koin.core.annotation.Single
 import kotlin.time.Instant
 
 @Single
 class GetCurrentTimeUseCase(private val clock: ClockUseCase) {
 
     operator fun invoke(): Instant = clock.now()
 }