/* Ċ Ġ* ĠCopyright Ġ 2 0 1 0 - 2 0 2 1 ĠJetBrains Ġs . r . o . Ġand ĠKotlin ĠProgramming ĠLanguage Ġcontributors . Ċ Ġ* ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe Ġlicense / LICENSE . txt Ġfile . Ċ Ġ*/ Ċ Ċ package Ġtest . collections . js Ċ Ċ import Ġkotlin . test .* Ċ Ċ class ĠCollections Js Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun ĠtoJSON () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġlist Ġ= Ġarray ListOf (" array ", Ġ" List ", Ġ" Of ") ĊĠĠĠĠĠĠĠ Ġassert Content Equals ( array Of (" array ", Ġ" List ", Ġ" Of "), Ġlist . as Dynamic (). toJSON () Ġas ĠArray < String >) ĊĊĠĠĠĠĠĠĠ Ġval Ġset Ġ= Ġlinked Set Of (" linked ", Ġ" Set ", Ġ" Of ") ĊĠĠĠĠĠĠĠ Ġassert Content Equals ( array Of (" linked ", Ġ" Set ", Ġ" Of "), Ġ( set Ġas ĠAbstract Mutable Collection < String >). as Dynamic (). toJSON () Ġas ĠArray < String >) ĊĠĠĠ Ġ} Ċ }