Skip to content

Instantly share code, notes, and snippets.

@justinhj
Created January 19, 2020 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save justinhj/f0ac4a2f01ad29c6202f042288009cbd to your computer and use it in GitHub Desktop.
Save justinhj/f0ac4a2f01ad29c6202f042288009cbd to your computer and use it in GitHub Desktop.
val t1 = Instant.now
val sampleAccount = AccountEntity(1, AccountState(0, None))
val commands = List(
DepositCmd(t1.plusSeconds(10), 100),
PurchaseCmd(t1.plusSeconds(20), 120),
AssignAccountHolderCmd(t1.plusSeconds(40), "Bob Johnson"),
DepositCmd(t1.plusSeconds(40), 100),
AssignAccountHolderCmd(t1.plusSeconds(50), "Ben Johnson"),
PurchaseCmd(t1.plusSeconds(60), 120))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment