package Ġb ik . ther most at . controller Ċ Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ class ĠTemperature Management Test Ġ{ ĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` should Ġget Ġroom Ġtemperature `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= ĠLogin Test . make Logged P etition To (" temperature ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. send A Get () ĊĠĠĠĠĠĠĠĠĊĠĠĠĠĠĠĠ Ġresponse ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. assertThat Response Is Ok () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. assertThat Body ContainsKey (" room Temperature ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġshould _ increase _ room _ temperature () Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġresponse Init Ġ= ĠLogin Test . make Logged P etition To (" temperature ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. send A Get (). body () ĊĠĠĠĠĠĠĠ Ġval Ġresponse Ġ= ĠLogin Test . make Logged P etition To (" temperature ") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. send AP ut ( map Of (" change " Ġto Ġ" 1 ")) ĊĠĠĠĠĠĠĠĠĊĠĠĠĠĠĠĠ Ġresponse ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. assertThat Response Is Ok () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. assertThat Body Contains ( map Of < String , ĠAny ?> (" room Temperature " Ġto Ġ( response Init [" room Temperature "] Ġas ĠInt Ġ+ Ġ 1 ))) ĊĠĠĠ Ġ} Ċ } Ċ