package Ġorg . jetbrains . kotlin x . jupyter . test . repl Ċ Ċ import Ġjupyter . kotlin . re ceiv ers . Const Receiver Ċ import Ġorg . jetbrains . kotlin x . jupyter . repl . creating . create Repl Ċ import Ġorg . jetbrains . kotlin x . jupyter . test . classpath Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġjava . io . File Ċ import Ġkotlin . test . assertEquals Ċ Ċ class ĠRe pl With Receiver Tests Ġ: ĠAbstract Repl Test () Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġtest Repl With Receiver () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġvalue Ġ= Ġ 5 ĊĠĠĠĠĠĠĠ Ġval Ġcp Ġ= Ġclasspath Ġ+ ĠFile ( Const Receiver :: class . java . protection Domain . code Source . location . to URI (). path ) ĊĠĠĠĠĠĠĠ Ġval Ġrepl Ġ= Ġcreate Repl ( resolution Info Provider , Ġcp , Ġnull , Ġscript Re ceiv ers Ġ= ĠlistOf ( Const Receiver ( value ))) ĊĠĠĠĠĠĠĠ Ġval Ġres Ġ= Ġrepl . eval (" value ") ĊĠĠĠĠĠĠĠ ĠassertEquals ( value , Ġres . result Value ) ĊĠĠĠ Ġ} Ċ } Ċ