package Ġme . to pt as . ok mock er . core Ċ Ċ import Ġokhttp 3 . Http Url Ċ import Ġokhttp 3 . Http Url . Companion . to Http Url OrNull Ċ import Ġorg . junit . Assert . assertEquals Ċ import Ġorg . junit . Test Ċ Ċ class ĠExt Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest FileName () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġfile 1 Ġ= Ġ" https :// github . com / far uk to pt as ". to Http Url OrNull ()?. to Ok M ocker FileName () ĊĠĠĠĠĠĠĠ Ġval Ġfile 2 Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" https :// github . com / far uk to pt as / ok mock er ". to Http Url OrNull ()?. to Ok M ocker FileName () ĊĠĠĠĠĠĠĠ Ġval Ġfile 3 Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" https :// github . com / far uk to pt as / ok mock er ? q = a ". to Http Url OrNull ()?. to Ok M ocker FileName () ĊĊĠĠĠĠĠĠĠ ĠassertEquals (" far uk to pt as ", Ġfile 1 ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" far uk to pt as _ ok mock er ", Ġfile 2 ) ĊĠĠĠĠĠĠĠ ĠassertEquals (" far uk to pt as _ ok mock er _ q _ a ", Ġfile 3 ) ĊĠĠĠ Ġ} Ċ }