Wow
Toggle table of contents
6.0.6
jvm
Platform filter
jvm
Switch theme
Search in API
Wow
wow-test
/
me.ahoo.wow.test.aggregate.dsl
/
ForkedVerifiedStageDsl
Forked
Verified
Stage
Dsl
interface
ForkedVerifiedStageDsl
<
S
:
Any
>
:
GivenDsl
<
S
>
Inheritors
DefaultForkedVerifiedStageDsl
Members
Properties
state
Aggregate
Link copied to clipboard
open
val
stateAggregate
:
StateAggregate
<
S
>
state
Root
Link copied to clipboard
open
val
stateRoot
:
S
verified
Result
Link copied to clipboard
abstract
val
verifiedResult
:
ExpectedResult
<
S
>
Functions
given
Event
Link copied to clipboard
abstract
fun
givenEvent
(
event
:
Any
,
block
:
WhenDsl
<
S
>
.
(
)
->
Unit
)
abstract
fun
givenEvent
(
events
:
Array
<
out
Any
>
=
emptyArray()
,
block
:
WhenDsl
<
S
>
.
(
)
->
Unit
)
given
Owner
Id
Link copied to clipboard
abstract
fun
givenOwnerId
(
ownerId
:
String
)
given
State
Link copied to clipboard
abstract
fun
givenState
(
state
:
S
,
version
:
Int
,
block
:
WhenDsl
<
S
>
.
(
)
->
Unit
)
inject
Link copied to clipboard
abstract
fun
inject
(
inject
:
ServiceProvider
.
(
)
->
Unit
)
name
Link copied to clipboard
abstract
fun
name
(
name
:
String
)
when
Command
Link copied to clipboard
abstract
fun
whenCommand
(
command
:
Any
,
header
:
Header
=
DefaultHeader.Companion.empty()
,
ownerId
:
String
=
OwnerId.Companion.DEFAULT_OWNER_ID
,
block
:
ExpectDsl
<
S
>
.
(
)
->
Unit
)