package Ġcom . ys f cy ln . mv ic lean architecture . utils Ċ Ċ import Ġcom . ys f cy ln . common . Resource Ċ import Ġcom . ys f cy ln . domain . entity . Comment Entity Model Ċ import Ġcom . ys f cy ln . domain . entity . Post Entity Model Ċ import Ġcom . ys f cy ln . domain . repository . Repository Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġkotlinx . coroutines . flow . flow Ċ import Ġjavax . inject . Inject Ċ Ċ /** Ċ Ġ* ĠFake Ġrepository Ġfor ĠUI Ġtesting Ċ Ġ*/ Ċ class ĠFake Repository Imp Ġ@ Inject Ġconstructor () Ġ: ĠRepository Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget Posts (): ĠFlow < Resource < List < Post Entity Model >>> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( Resource . Success ( TestData Generator . generate Posts ())) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġget Post Comments ( post Id : ĠInt ): ĠFlow < Resource < List < Comment Entity Model >>> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġflow Ġ{ Ġemit ( Resource . Success ( TestData Generator . generate Post Comments ())) Ġ} ĊĠĠĠ Ġ} Ċ }