package Ġcom . github . bh lang on ij r . fl ub ber . script Ċ Ċ import Ġcom . github . bh lang on ij r . fl ub ber . util . Util . Companion . load Resource Ċ import Ġorg . junit . jupiter . api . Assertions . assertEquals Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠScript Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` test Ġscript Ġloading `() Ġ{ ĊĊĠĠĠĠĠĠĠ Ġval Ġscript Ġ= ĠScript . from ( load Resource ("/ script - example . json ")) ĊĊĠĠĠĠĠĠĠ ĠassertEquals ( 4 , Ġscript . flow ()?. size ()) ĊĠĠĠĠĠĠĠ ĠassertEquals ( 2 , Ġscript . sequence (" gre et And Exit ") ?. size ()) ĊĠĠĠĠĠĠĠ ĠassertEquals (" hang up ", Ġscript . action (" gre et And Exit ", Ġ 1 )?. get (" action ") ?. as Text ()) ĊĠĠĠ Ġ} Ċ }