package Ġcom . gitlab . d aring . f ms . common . util Ċ Ċ import Ġcom . gitlab . d aring . f ms . common . util . Common Utils . parse Duration Ċ import Ġio . kot lint est . specs . Fun Spec Ċ import Ġorg . junit . Assert . assertEquals Ċ import Ġjava . time . Duration Ċ Ċ class ĠCommon UtilsTest Ġ: ĠFun Spec ({ ĊĊĠĠĠ Ġtest (" parse Duration ") Ġ{ ĊĠĠĠĠĠĠĠ ĠassertEquals ( Duration . of Millis ( 1 ), Ġparse Duration (" 1 ")) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Duration . of Millis ( 1 0 0 0 ), Ġparse Duration (" 1 s ")) ĊĠĠĠĠĠĠĠ ĠassertEquals ( Duration . of Millis ( 6 0 0 0 0 ), Ġparse Duration (" 1 m ")) ĊĠĠĠ Ġ} Ċ Ċ })