| 26 | |
| 27 | template <typename Matcher, typename T> |
| 28 | bool ApplyMatcher(Matcher m, const T& t) { |
| 29 | return static_cast<testing::Matcher<T>>(m).Matches(t); |
| 30 | } |
| 31 | |
| 32 | TEST(IssueCollector, CollectsIssues) { |
| 33 | IssueCollector issue_collector(RuntimeIssue::Severity::kError); |