package Ġcom . example . tam ask oz mer . kotlin rx example . mocks . model . repositories Ċ Ċ import Ġcom . example . tam ask oz mer . kotlin rx example . model . entities . Answer Ċ import Ġcom . example . tam ask oz mer . kotlin rx example . model . entities . Question Ċ import Ġcom . example . tam ask oz mer . kotlin rx example . model . repositories . Details Repository Ċ import Ġio . reactivex . Single Ċ import Ġio . reactivex . Single Emitter Ċ Ċ class ĠFake Details Repository Ġ: ĠDetails Repository Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġget Questions ByUser ( userId : ĠLong , Ġforced : ĠBoolean ): ĠSingle < List < Question >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcreate Single ( emptyList ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Answers ByUser ( userId : ĠLong , Ġforced : ĠBoolean ): ĠSingle < List < Answer >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcreate Single ( emptyList ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget F avorites ByUser ( userId : ĠLong , Ġforced : ĠBoolean ): ĠSingle < List < Question >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcreate Single ( emptyList ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Questions ById ( ids : ĠList < Long >, ĠuserId : ĠLong , Ġforced : ĠBoolean ): ĠSingle < List < Question >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġcreate Single ( emptyList ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġ< T > Ġcreate Single ( emit ted Item : ĠT ): ĠSingle < T > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠSingle . create Ġ{ Ġemitter : ĠSingle Emitter < T > Ġ-> Ġemitter . on Success ( emit ted Item ) Ġ} ĊĠĠĠ Ġ} Ċ }