package Ġcom . re vol ut an . domain . inter actor . test Ċ Ċ import Ġcom . re vol ut an . domain . model . Exchange Rate Ċ import Ġjava . util .* Ċ import Ġjava . util . concurrent . Thread Local Random Ċ import Ġkotlin . collections . HashMap Ċ Ċ object ĠExchange Rate Data Factory Ġ{ ĊĊĊĠĠĠ Ġprivate Ġfun Ġrandom String () Ġ= ĠUUID . randomUUID (). toString () ĊĠĠĠ Ġfun Ġrandom Double (): ĠDouble Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠThread Local Random . current (). next Double ( 0 . 0 , Ġ 1 0 0 . 0 Ġ+ Ġ 1 ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġgenerate Exchange Rate (): ĠExchange Rate Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġrates Ġ= ĠHashMap < String , ĠDouble >() ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġrates [ random String ()] Ġ= Ġrandom Double () ĊĠĠĠĠĠĠĠ Ġreturn ĠExchange Rate ( base Ġ= Ġrandom String (), Ġdate Ġ= Ġrandom String (), Ġrates Ġ= Ġrates ) ĊĊĠĠĠ Ġ} Ċ }