| 48 | explicit CelValueMatcherImpl(testing::Matcher<UnderlyingType> m) |
| 49 | : underlying_type_matcher_(std::move(m)) {} |
| 50 | bool MatchAndExplain(const CelValue& v, |
| 51 | testing::MatchResultListener* listener) const override { |
| 52 | UnderlyingType arg; |
| 53 | return v.GetValue(&arg) && underlying_type_matcher_.Matches(arg); |
| 54 | } |
| 55 | |
| 56 | void DescribeTo(std::ostream* os) const override { |
| 57 | CelValue::Type type = |