package Ġch . source motion . vertx . gradle . her mes . files Ċ Ċ import Ġio . kot est . assertions . throw ables . should Throw Ċ import Ġio . kot est . matchers . shouldBe Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġjava . io . File Ċ import Ġjava . nio . file . Paths Ċ Ċ internal Ġclass ĠFiles Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġpath _ with _ file () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root ". to Path (). add ( File (" ch ")). shouldBe ( Paths . get (" root / ch ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġpath _ with _ de eper _ file _ path () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root ". to Path (). add ( File (" ch / foo / bar ")). shouldBe ( Paths . get (" root / ch / foo / bar ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġpath _ with _ sub _ path () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root ". to Path (). add (" ch ". to Path ()). shouldBe ( Paths . get (" root / ch ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġpath _ with _ de eper _ sub _ path () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root ". to Path (). add (" ch / foo / bar ". to Path ()). shouldBe ( Paths . get (" root / ch / foo / bar ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġpath _ with _ root _ sub _ path () Ġ{ ĊĠĠĠĠĠĠĠ Ġshould Throw < IllegalArgumentException > Ġ{ Ġ" root ". to Path (). add ("/ ch ". to Path ()) Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġpath _ with _ package () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root ". to Path (). add Package (" ch "). shouldBe ( Paths . get (" root / ch ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġdeeper _ path _ with _ package () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root / foo / bar ". to Path (). add Package (" ch "). shouldBe ( Paths . get (" root / foo / bar / ch ")) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġinternal Ġfun Ġwith _ de eper _ package () Ġ{ ĊĠĠĠĠĠĠĠ Ġ" root ". to Path (). add Package (" ch . source motion . foo . bar "). shouldBe ( Paths . get (" root / ch / source motion / foo / bar ")) ĊĠĠĠ Ġ} Ċ }