package Ġcom . b ka . ssi . generator . application . test flows Ċ Ċ import Ġcom . b ka . ssi . generator . application . test runners . TestRunner Ċ import Ġcom . b ka . ssi . generator . domain . services . IA ries Client Ċ import Ġcom . b ka . ssi . generator . domain . services . IA ries Observer Ċ import Ġorg . slf 4 j . Logger Ċ import Ġorg . slf 4 j . LoggerFactory Ċ Ċ abstract Ġclass ĠTest Flow ( ĊĠĠĠ Ġprivate Ġvar Ġholder A ries Clients : ĠList < IA ries Client > Ċ ) Ġ: ĠIA ries Observer Ġ{ ĊĊĠĠĠ Ġprivate Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġvar ĠindexOf Next Holder Ġ= Ġ 0 ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprotected Ġvar Ġlogger : ĠLogger Ġ= ĠLoggerFactory . getLogger ( Test Flow :: class . java ) ĊĊĠĠĠ Ġabstract Ġfun Ġinitialize ( test Runner : ĠTest Runner ) ĊĠĠĠ Ġabstract Ġfun Ġstart Iteration () ĊĊĠĠĠ Ġprotected Ġfun Ġnext Holder Client (): ĠIA ries Client Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġholder Client Ġ= Ġholder A ries Clients [ indexOf Next Holder ] ĊĊĠĠĠĠĠĠĠ ĠindexOf Next Holder ++ ĊĠĠĠĠĠĠĠ Ġif Ġ( indexOf Next Holder Ġ== Ġholder A ries Clients . size ) ĠindexOf Next Holder Ġ= Ġ 0 ĊĊĠĠĠĠĠĠĠ Ġreturn Ġholder Client ĊĠĠĠ Ġ} Ċ } Ċ