package Ġorg . http 4 k . serverless Ċ Ċ import Ġcom . nat pr y ce . ham k rest . and Ċ import Ġcom . nat pr y ce . ham k rest . assertion . assertThat Ċ import Ġorg . http 4 k . core . Method Ċ import Ġorg . http 4 k . core . Request Ċ import Ġorg . http 4 k . core . Status Ċ import Ġorg . http 4 k . ham k rest . has Body Ċ import Ġorg . http 4 k . ham k rest . has Status Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠTest Server less Function Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` can Ġinvoke Ġhandler `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġapp Ġ= ĠTest Server less Function ( empty Map ()) ĊĊĠĠĠĠĠĠĠ ĠassertThat ( app ( Request ( Method . POST , Ġ"/ echo "). body (" hello ")), Ġhas Status ( Status . OK ) Ġand Ġhas Body (" hello ")) ĊĠĠĠ Ġ} Ċ } Ċ