| Package | Description |
|---|---|
| org.grpcmock | |
| org.grpcmock.definitions.verification |
| Modifier and Type | Method and Description |
|---|---|
static CountMatcher |
GrpcMock.atLeast(int count)
Called the specified number of times or more.
|
static CountMatcher |
GrpcMock.atMost(int count)
Called the specified number of times or less.
|
static CountMatcher |
GrpcMock.never()
Never called.
|
static CountMatcher |
GrpcMock.times(int count)
Called exactly the specified number of times.
|
| Modifier and Type | Method and Description |
|---|---|
static <ReqT> void |
GrpcMock.verifyThat(io.grpc.MethodDescriptor<ReqT,?> method,
CountMatcher countMatcher)
Verify that given method was called number of times satisfying provided
CountMatcher. |
<ReqT> void |
GrpcMock.verifyThat(RequestPattern<ReqT> requestPattern,
CountMatcher countMatcher)
Verify that given
RequestPattern is called a number of times satisfying the provided CountMatcher. |
static <ReqT> void |
GrpcMock.verifyThat(RequestPatternBuilderStep<ReqT> requestPattern,
CountMatcher countMatcher)
Verify that given
RequestPattern was called number of times satisfying provided
CountMatcher. |
| Modifier and Type | Method and Description |
|---|---|
static CountMatcher |
CountMatcher.atLeast(int count)
Called the specified number of times or more.
|
static CountMatcher |
CountMatcher.atMost(int count)
Called the specified number of times or less.
|
static CountMatcher |
CountMatcher.never()
Never called.
|
static CountMatcher |
CountMatcher.once()
Called exactly one time.
|
static CountMatcher |
CountMatcher.times(int count)
Called exactly the specified number of times.
|
static CountMatcher |
CountMatcher.twice()
Called exactly two times.
|
Copyright © 2023. All rights reserved.