Darrel Roof
11/14/2023, 5:15 PMclass TestRepository constructor(private val testApi: TestApi) {
fun getTestObj(): TestObj?{
val apiResponse = testApi.getTestObj()
return apiResponse.toModel()
}
}
Current Native VM Referencing Actual Repository Obj, But Needs To Be Mocked In Client's Unit Tests
class TestClientVM (kmmTestRepo: TestRepository){
....
}