| 87 | class ProtoMatcher { |
| 88 | public: |
| 89 | explicit inline ProtoMatcher(const google::protobuf::Message& expected) |
| 90 | : expected_(expected.New()) { |
| 91 | expected_->CopyFrom(expected); |
| 92 | } |
| 93 | |
| 94 | bool MatchAndExplain(const google::protobuf::MessageLite& p, |
| 95 | ::testing::MatchResultListener* listener) const { |