public interface VerifiedTransactionBuilder<R extends com.ca.codesv.sdk.ResponseBuilder>
Modifier and Type | Method and Description |
---|---|
ConnectedServer<R> |
expectingInvocationCount(int count)
Specifies exact number of times that
Request should be invoked. |
ConnectedServer<R> |
expectingInvocationCount(org.hamcrest.Matcher<java.lang.Integer> countMatcher)
Specifies
Matcher that should match against invocation count of Request . |
VerifiedTransactionBuilder<R> |
usingRequestParser(com.ca.codesv.sdk.function.Consumer<com.ca.codesv.sdk.Request> requestParser)
Specifies
Consumer of Request that should be used as parser. |
VerifiedTransactionBuilder<R> usingRequestParser(com.ca.codesv.sdk.function.Consumer<com.ca.codesv.sdk.Request> requestParser)
Consumer
of Request
that should be used as parser.requestParser
- a Consumer
of Request
ConnectedServer<R> expectingInvocationCount(org.hamcrest.Matcher<java.lang.Integer> countMatcher)
Matcher
that should match against invocation count of Request
.countMatcher
- a Matcher
matching against Integer
ConnectedServer<R> expectingInvocationCount(int count)
Request
should be invoked.count
- number of invocation