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

Class Class, % Method, % Branch, % Line, % Instruction, %
CreateTransactionUseCase 100% (1/1) 100% (2/2) 100% (3/3) 100% (11/11)


 package com.georgeci.moneysurfer.domain.usecase
 
 import com.georgeci.moneysurfer.domain.model.Transaction
 import org.koin.core.annotation.Single
 
 @Single
 class CreateTransactionUseCase(
     private val applyTransactionChange: ApplyTransactionChangeUseCase,
 ) {
 
     suspend operator fun invoke(transaction: Transaction) {
         applyTransactionChange(old = null, new = transaction)
     }
 }