// ĠTODO : Ġhttps :// yout rack . jetbrains . com / issue / KT - 3 4 1 0 2 Ċ @ file : Suppress (" invisible _ reference ", Ġ" invisible _ member ") Ċ Ċ package Ġorg . sdk otlin . k oin . it . hello Ċ Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . After Each Ċ import Ġorg . junit . jupiter . api . BeforeEach Ċ import Ġorg . junit . jupiter . api . Test Ċ import Ġorg . k oin . core . context . start K oin Ċ import Ġorg . k oin . core . context . stop K oin Ċ import Ġorg . k oin . test . K oin Test Ċ import Ġorg . k oin . test . inject Ċ import Ġorg . sdk otlin . k oin . hello . Hello Controller Ċ import Ġorg . sdk otlin . k oin . hello . hello Module Ċ import Ġorg . sdk otlin . k oin . it . hello . test . Test G reeting Service Ċ import Ġorg . sdk otlin . k oin . it . hello . test . test Hello Module Ċ Ċ internal Ġclass ĠHello Controller IT Ġ: ĠK oin Test Ġ{ ĊĊ ĉ private Ġval Ġhello Controller : ĠHello Controller Ġby Ġinject () ĊĊ ĉ @ BeforeEach Ċ ĉ fun ĠbeforeEach () Ġ{ Ċĉ ĉ start K oin Ġ{ Ċĉĉ ĉ modules ( listOf ( hello Module , Ġtest Hello Module )) Ċĉ ĉ } Ċ ĉ } ĊĊ ĉ @ After Each Ċ ĉ fun ĠafterEach () Ġ{ Ċĉ ĉ stop K oin () Ċ ĉ } ĊĊ ĉ @ Test Ċ ĉ fun Ġ` Integration Ġtest Ġthe Ġhello Ġcontroller `() Ġ{ ĊĊĉ ĉ val Ġresponse Ġ= Ġhello Controller . say Hello () ĊĊĉ ĉ assertThat ( response ). isEqualTo ( Test G reeting Service . TEST _ GRE ET ING ) Ċ ĉ } Ċ } Ċ