public interface WhenProducer<EXPECTATION extends TestExpectation>
Modifier and Type | Method and Description |
---|---|
When<EXPECTATION> |
whenProducerIsAny()
Sets the active producer to be any.
|
When<EXPECTATION> |
whenProducerIsAnyOf(java.util.Collection<UserIdentifier> producerIdentifiers)
Sets the active producers for assertions.
|
When<EXPECTATION> |
whenProducerIsAnyOf(java.util.function.Supplier<java.util.Collection<UserIdentifier>> producerIdentifierSupplier)
Sets the active producers for assertions.
|
When<EXPECTATION> |
whenProducerIsAnyOf(UserIdentifier... producerIdentifiers)
Sets the active producers for assertions.
|
When<EXPECTATION> |
whenProducerIsAnyOf(UserIdentifierCollection... producerIdentifiers)
Sets the active producers for assertions.
|
When<EXPECTATION> whenProducerIsAny()
When<EXPECTATION> whenProducerIsAnyOf(UserIdentifierCollection... producerIdentifiers)
UserIdentifiers
.
Calling this will clear active consumer identifiers.producerIdentifiers
- Producer identifier collectionsWhen<EXPECTATION> whenProducerIsAnyOf(UserIdentifier... producerIdentifiers)
UserIdentifier
objects.
In most cases whenProducerIsAnyOf(UserIdentifierCollection...)
is preferred since it works
well with UserIdentifiers
helper methods.
Calling this will clear active consumer identifiers.producerIdentifiers
- User identifiersWhen<EXPECTATION> whenProducerIsAnyOf(java.util.Collection<UserIdentifier> producerIdentifiers)
UserIdentifier
objects.
Calling this will clear active consumer identifiers.producerIdentifiers
- Collection of user identifiersWhen<EXPECTATION> whenProducerIsAnyOf(java.util.function.Supplier<java.util.Collection<UserIdentifier>> producerIdentifierSupplier)
producerIdentifierSupplier
- Supplier method