package Ġio . just dev it . libs . state machine . dsl . builder Ċ Ċ import Ġio . just dev it . libs . state machine . guard . Transition Guard Ċ import Ġio . mock k . mock k Ċ import Ġorg . assertj . core . api . Assertions . assertThat Ċ import Ġorg . junit . jupiter . api . Test Ċ Ċ internal Ġclass ĠTransition Guard Builder Test Ġ{ ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` Should Ġbe Ġable Ġto Ġcreate Ġempty Ġguard Ġlist `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Ġ= ĠTransition Guard Builder < Any , ĠAny >() ĊĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= Ġbuilder . build () ĊĊĠĠĠĠĠĠĠ ĠassertThat ( result ). isEmpty () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ@ Test ĊĠĠĠ Ġfun Ġ` Should Ġbe Ġable Ġto Ġcreate Ġguard Ġlist `() Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġbuilder Ġ= ĠTransition Guard Builder < Any , ĠAny >() ĊĠĠĠĠĠĠĠ Ġval Ġguard Ġ= Ġmock k < Transition Guard < Any , ĠAny >>() ĊĠĠĠĠĠĠĠ Ġbuilder . apply Ġ{ Ġ+ guard Ġ} ĊĊĠĠĠĠĠĠĠ Ġval Ġresult Ġ= Ġbuilder . build () ĊĊĠĠĠĠĠĠĠ ĠassertThat ( result ). contains Exactly ( guard ) ĊĠĠĠ Ġ} Ċ } Ċ