package Ġorg . imp erial . m rc . mint . unit . controllers ; Ċ Ċ import Ġcom . n ha ar man . mockito _ kotlin . do Return Ċ import Ġcom . n ha ar man . mockito _ kotlin . mock Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test ; Ċ import Ġorg . imp erial . m rc . mint . APIClient Ċ import Ġorg . imp erial . m rc . mint . controllers . Impact Controller Ċ import Ġorg . imp erial . m rc . mint . controllers . Str ateg ise Controller Ċ import Ġorg . springframework . http . Response Entity Ċ Ċ class ĠStr ateg ise Controller Tests Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġmock Response Ġ= Ġmock < Response Entity < String >>() ĊĠĠĠ Ġprivate Ġval Ġoptions Ġ= Ġmap Of (" option " Ġto Ġ" value ") ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` gets Ġstrategies Ġfrom Ġthe Ġapi `() ĊĠĠĠ Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġmock API Ġ= Ġmock < APIClient >{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġon Ġ{ Ġget Str ategies ( options ) Ġ} Ġdo Return Ġmock Response ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġval Ġsut Ġ= ĠStr ateg ise Controller ( mock API ) ĊĠĠĠĠĠĠĠ ĠassertThat ( sut . str ateg ise ( options )). is Same As ( mock Response ) ĊĠĠĠ Ġ} Ċ Ċ } Ċ