package Ġcom . mir u ken . api . schedule Ċ Ċ import Ġcom . mir u ken . api . Get Stock Quote Ċ import Ġcom . mir u ken . api . Jack son Provider Ċ import Ġorg . junit . Test Ċ import Ġkotlin . test . assertEquals Ċ Ċ class ĠParallel Test Ġ{ ĊĠĠĠ Ġ@ Test Ġfun Ġ` Serial izes Ġparallel Ġrequest Ġinto Ġjson `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġrequest Ġ= ĠParallel ( listOf ( Get Stock Quote (" A AP L "))) ĊĠĠĠĠĠĠĠ Ġval Ġjson ĠĠĠ Ġ= ĠJack son Provider . mapper . writeValue AsString ( request ) ĊĠĠĠĠĠĠĠ ĠassertEquals ("{ \"\ $ type \":\" Mir u ken . Api . Schedule . Parallel , Mir u ken \",\" requests \": [{ \"\ $ type \":\" Get Stock Quote \",\" symbol \":\" A AP L \" }] }", Ġjson ) ĊĠĠĠ Ġ} Ċ }