package Ġcom . github . ker ub istan . ker ub . planner . steps . host . power down Ċ Ċ import Ġcom . github . ker ub istan . ker ub . host . Host Manager Ċ import Ġcom . github . ker ub istan . ker ub . model . Host Ċ import Ġcom . n ha ar man . mockito _ kotlin . eq Ċ import Ġcom . n ha ar man . mockito _ kotlin . mock Ċ import Ġcom . n ha ar man . mockito _ kotlin . verify Ċ import Ġorg . junit . Test Ċ Ċ class ĠPower Down Executor Test Ġ{ ĊĊ ĉ val Ġhost Manager : ĠHost Manager Ġ= Ġmock () ĊĊ ĉ val Ġhost Ġ= ĠHost ( Ċĉĉ ĉ address Ġ= Ġ" host - 1 . example . com ", Ċĉĉ ĉ dedicated Ġ= Ġtrue , Ċĉĉ ĉ publicKey Ġ= Ġ"" Ċ ĉ ) ĊĊ ĉ @ Test Ċ ĉ fun Ġexecute () Ġ{ Ċĉ ĉ Power Down Executor ( host Manager ). execute ( Power Down Host ( host )) ĊĊĉ ĉ verify ( host Manager ). power Down ( eq ( host )) Ċ ĉ } Ċ }