public interface Then<T extends TestExpectation>
Modifier and Type | Method and Description |
---|---|
WhenThen<T> |
byDefault(T testExpectation)
Define default expectation.
|
WhenThen<T> |
otherwise(T testExpectation)
Define default expectation.
|
WhenThen<T> |
then(T testExpectation)
Make sure to call
When.whenCalledWithAnyOf(fi.vincit.multiusertest.util.UserIdentifierCollection...) or When.whenCalledWithAnyOf(UserIdentifier...)
first to set the user identifiers this call will add the expectation. |
WhenThen<T> then(T testExpectation)
When.whenCalledWithAnyOf(fi.vincit.multiusertest.util.UserIdentifierCollection...)
or When.whenCalledWithAnyOf(UserIdentifier...)
first to set the user identifiers this call will add the expectation.testExpectation
- Expectation to test for the previous when identifiersWhenThen<T> otherwise(T testExpectation)
testExpectation
- Default expectationWhenThen<T> byDefault(T testExpectation)
otherwise(TestExpectation)
.testExpectation
- Default expectation