package Ġcom . el pass ion . android . commons . rx jav atest Ċ Ċ import Ġio . reactivex . Maybe Ċ import Ġorg . mockito . stub bing . O ngo ing Stub bing Ċ Ċ fun Ġ< T > ĠO ngo ing Stub bing < Maybe < T >> . then Never (): ĠO ngo ing Stub bing < Maybe < T >> Ġ= Ġthen Return ( Maybe . never ()) Ċ Ċ fun Ġ< T > ĠO ngo ing Stub bing < Maybe < T >> . then Just ( value : ĠT ): ĠO ngo ing Stub bing < Maybe < T >> Ġ= Ġthen Return ( Maybe . just ( value )) Ċ Ċ fun Ġ< T > ĠO ngo ing Stub bing < Maybe < T >> . then Error ( exception : ĠException Ġ= ĠRuntimeException ()): ĠO ngo ing Stub bing < Maybe < T >> Ġ= Ġthen Return ( Maybe . error ( exception ))