package Ġmy . artifact . my event player . jvm . assert Ċ Ċ import Ġco . rem ot ect rl . event player . Aggregate Ċ import Ġco . rem ot ect rl . event player . Aggregate Legend Ċ import Ġco . rem ot ect rl . event player . Event Legend Ċ import Ġco . rem ot ect rl . event player . Play Event Ċ import Ġorg . am sh ove . k lu ent . should Equal Ċ Ċ class ĠAssert Util { ĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġfun Ġ< T Ġ: ĠAggregate < T >> Ġassert Event ( actual : ĠEvent Legend < T >, Ġexpected : ĠEvent Legend < T >) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactual . eventId . value Ġshould Equal Ġexpected . eventId . value ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactual . aggregate Id . value Ġshould Equal Ġexpected . aggregate Id . value ĊĠĠĠĠĠĠĠĠĠĠĠ Ġactual . version Ġshould Equal Ġexpected . version ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġfun Ġ< T Ġ: ĠAggregate < T >> Ġassert Aggregate Event ( model : ĠAggregate Legend < T >, Ġevt : ĠPlay Event < T >) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmodel . latest Version Ġshould Equal Ġevt . legend . version ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }