public interface When<EXPECTATION extends TestExpectation>
Modifier and Type | Method and Description |
---|---|
ThenProducer<EXPECTATION> |
whenCalledWithAnyOf(java.util.Collection<UserIdentifier> userIdentifiers)
Sets the active consumers for assertions.
|
ThenProducer<EXPECTATION> |
whenCalledWithAnyOf(java.util.function.Supplier<java.util.Collection<UserIdentifier>> userIdentifierSupplier)
Sets the active consumers for assertions.
|
ThenProducer<EXPECTATION> |
whenCalledWithAnyOf(UserIdentifier... userIdentifiers)
Sets the active consumers for assertions.
|
ThenProducer<EXPECTATION> |
whenCalledWithAnyOf(UserIdentifierCollection... userIdentifiers)
Sets the active consumers for assertions.
|
ThenProducer<EXPECTATION> whenCalledWithAnyOf(UserIdentifierCollection... userIdentifiers)
UserIdentifiers
.userIdentifiers
- User identifier collectionsThenProducer<EXPECTATION> whenCalledWithAnyOf(UserIdentifier... userIdentifiers)
UserIdentifier
objects.
In most cases whenCalledWithAnyOf(UserIdentifierCollection...)
is preferred since it works well
with UserIdentifiers
helper methods.userIdentifiers
- User identifiersThenProducer<EXPECTATION> whenCalledWithAnyOf(java.util.Collection<UserIdentifier> userIdentifiers)
UserIdentifier
objects.userIdentifiers
- Collection of user identifiersThenProducer<EXPECTATION> whenCalledWithAnyOf(java.util.function.Supplier<java.util.Collection<UserIdentifier>> userIdentifierSupplier)
userIdentifierSupplier
- Supplier method