package Ġorg . http 4 k . demo Ċ Ċ import Ġorg . http 4 k . cloud native . env . Environment Ċ import Ġorg . http 4 k . core . Credentials Ċ import Ġorg . http 4 k . core . Method . GET Ċ import Ġorg . http 4 k . core . Request Ċ import Ġorg . http 4 k . testing . test Ws Client Ċ Ċ class ĠI rc App UnitTest Ġ: ĠI rc Contract () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġcredentials Ġ= ĠCredentials (" user ", Ġ" password ") ĊĠĠĠ Ġprivate Ġval Ġapp Ġ= ĠI rc App ( Environment . defaults ( CRED ENTIAL S Ġof Ġcredentials )) ĊĊĠĠĠ Ġoverride Ġfun Ġnew User () Ġ= ĠNew User ( app . test Ws Client ( Request ( GET , Ġ"/ ws "))) Ċ } Ċ