toggle menu
Wow
3.16.8
jvm
switch theme
search in API
wow-tck
/
me.ahoo.wow.tck.eventsourcing
/
EventStoreSpec
Event
Store
Spec
@
ExtendWith
(
value
=
[
LoggingMeterRegistryInitializer::class
]
)
abstract
class
EventStoreSpec
Provides tests for verifying
EventStore
specification rules.
Author
ahoo wang
Members
Constructors
Event
Store
Spec
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
event
Store
Link copied to clipboard
lateinit
var
eventStore
:
EventStore
named
Aggregate
Link copied to clipboard
val
namedAggregate
:
NamedAggregate
Functions
append
Event
Stream
Link copied to clipboard
@
Test
fun
appendEventStream
(
)
append
Event
Stream
When
Duplicate
Aggregate
Id
Link copied to clipboard
@
Test
fun
appendEventStreamWhenDuplicateAggregateId
(
)
append
Event
Stream
When
Duplicate
Request
Id
Exception
Link copied to clipboard
@
Test
open
fun
appendEventStreamWhenDuplicateRequestIdException
(
)
append
Event
Stream
When
Event
Version
Conflict
Link copied to clipboard
@
Test
fun
appendEventStreamWhenEventVersionConflict
(
)
append
Event
Stream
When
Parallel
Link copied to clipboard
@
Test
fun
appendEventStreamWhenParallel
(
)
load
Event
Stream
Given
Head
Version
Link copied to clipboard
@
Test
fun
loadEventStreamGivenHeadVersion
(
)
load
Event
Stream
Given
Wrong
Version
Link copied to clipboard
@
Test
open
fun
loadEventStreamGivenWrongVersion
(
)
load
Event
Stream
When
Not
Found
Link copied to clipboard
@
Test
fun
loadEventStreamWhenNotFound
(
)
load
Event
Stream
When
Parallel
Link copied to clipboard
@
Test
fun
loadEventStreamWhenParallel
(
)
setup
Link copied to clipboard
@
BeforeEach
open
fun
setup
(
)