givenOwnerId

abstract fun givenOwnerId(ownerId: String)

Sets the owner ID for the aggregate in this test scenario.

The owner ID is used for access control and may affect command execution behavior in multi-user or permission-based scenarios.

Parameters

ownerId

the identifier of the aggregate owner