(ArgumentMatcher<Throwable> causeMatcher)
| 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)); |
no outgoing calls
no test coverage detected