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
/
GivenDsl
Given
Dsl
interface
GivenDsl
<
S
:
Any
>
:
WhenDsl
<
S
>
,
NameSpecCapable
Inheritors
AbstractGivenStageDsl
ForkedVerifiedStageDsl
Members
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
)