package Ġno . nav . sy fo . test helper Ċ Ċ import Ġio . ktor . application .* Ċ import Ġio . mock k .* Ċ import Ġno . nav . sy fo . application . api . api Module Ċ import Ġno . nav . sy fo . application . cache . Redis Store Ċ import Ġno . nav . sy fo . application . mq . MQ Sender Interface Ċ import Ġno . nav . sy fo . bre v . ar be id st aker . br uk er not ifik as jon . B ru ker not ifik as jon Producer Ċ import Ġredis . clients . j edis .* Ċ Ċ fun ĠApplication . test Api Module ( ĊĠĠĠ Ġexternal Mock Environment : ĠExternal Mock Environment , ĊĠĠĠ Ġbru ker not ifik as jon Producer : ĠB ru ker not ifik as jon Producer , ĊĠĠĠ Ġm q Sender Mock : ĠMQ Sender Interface , Ċ ) Ġ{ ĊĠĠĠ Ġval Ġcache Ġ= ĠRedis Store ( ĊĠĠĠĠĠĠĠ ĠJ edis Pool ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠJ edis Pool Config (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexternal Mock Environment . environment . redis Host , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexternal Mock Environment . environment . redis Port , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠProtocol . DEFAULT _ TIMEOUT , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġexternal Mock Environment . environment . redis Secret ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ) ĊĠĠĠ Ġthis . api Module ( ĊĠĠĠĠĠĠĠ Ġapplication State Ġ= Ġexternal Mock Environment . application State , ĊĠĠĠĠĠĠĠ Ġbru ker not ifik as jon Producer Ġ= Ġbru ker not ifik as jon Producer , ĊĠĠĠĠĠĠĠ Ġdatabase Ġ= Ġexternal Mock Environment . database , ĊĠĠĠĠĠĠĠ Ġm q Sender Ġ= Ġm q Sender Mock , ĊĠĠĠĠĠĠĠ Ġenvironment Ġ= Ġexternal Mock Environment . environment , ĊĠĠĠĠĠĠĠ Ġwell Known Sel v bet j ening Ġ= Ġexternal Mock Environment . well Known Sel v bet j ening , ĊĠĠĠĠĠĠĠ Ġwell Known Ve ile der V 2 Ġ= Ġexternal Mock Environment . well Known Ve ile der V 2 , ĊĠĠĠĠĠĠĠ Ġcache Ġ= Ġcache , ĊĠĠĠ Ġ) Ċ } Ċ