package Ġcom . mart ys uz uki . ui logic . util Ċ Ċ import Ġcom . mart ys uz uki . repository interface . movie . Movie Detail Result Ċ import Ġcom . mart ys uz uki . repository interface . movie . Movie Repository Ċ import Ġcom . mart ys uz uki . repository interface . movie . Movies Result Ċ import Ġkotlinx . coroutines .* Ċ Ċ @ Experimental Cor outines Api Ċ class ĠMovie Repository Mock : ĠMovie Repository Ġ{ ĊĠĠĠ Ġval Ġfetch Movies Spy Ġ= ĠS uspend Spy < Movies Result , ĠPair < String , ĠInt >> (" fetch Movies Result Ġis Ġnull ") ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġfetch Movies ( query : ĠString , Ġpage : ĠInt ) Ġ= Ġfetch Movies Spy . respond ( Pair ( query , Ġpage )) ĊĊĠĠĠ Ġval Ġfetch Movie Detail Spy Ġ= ĠS uspend Spy < Movie Detail Result , ĠInt >(" fetch Movie Detail Result Ġis Ġnull ") ĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġfetch Movie Detail ( id : ĠInt ) Ġ= Ġfetch Movie Detail Spy . respond ( id ) Ċ }