MCPcopy Create free account
hub / github.com/grpc/grpc-java / andCause

Method andCause

api/src/testFixtures/java/io/grpc/StatusMatcher.java:62–65  ·  view source on GitHub ↗
(ArgumentMatcher<Throwable> causeMatcher)

Source from the content-addressed store, hash-verified

60 }
61
62 public StatusMatcher andCause(ArgumentMatcher<Throwable> causeMatcher) {
63 checkState(this.causeMatcher == null, "Already has a cause matcher");
64 return new StatusMatcher(codeMatcher, descriptionMatcher, causeMatcher);
65 }
66
67 public StatusMatcher andCause(Throwable cause) {
68 return andCause(new EqualsMatcher<>(cause));

Callers 1

testControlPlaneErrorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected