package Ġdev . for st . ktor . apikey Ċ Ċ import Ġcom . fasterxml . jackson . module . kotlin . jackson ObjectMapper Ċ import Ġcom . fasterxml . jackson . module . kotlin . readValue Ċ import Ġio . ktor . server . testing . Test Application Call Ċ import Ġkotlin . test . assertNotNull Ċ Ċ inline Ġfun Ġ< re ified ĠT > ĠTest Application Call . receive OrNull (): ĠT ? Ġ{ ĊĠĠĠ Ġval Ġcontent Ġ= Ġresponse . content Ġ?: Ġreturn Ġnull ĊĠĠĠ Ġreturn Ġj ack son ObjectMapper (). readValue ( content ) Ċ } Ċ Ċ inline Ġfun Ġ< re ified ĠT > ĠTest Application Call . receive (): ĠT Ġ= ĊĠĠĠ ĠassertNotNull ( receive OrNull < T >(), Ġ" Received Ġcontent Ġwas Ġnull !") Ċ