You can take a look at the Truth proto test: https://github.com/google/truth/blob/master/extensions/proto/src/test/java/com/google/common/truth/extensions/proto/ProtoSubjectTest.java
Basically you would need to call something like: com.google.common.truth.extensions.proto.ProtoTruth.assertThat(message).isEqualTo(expected); On Wednesday, June 19, 2019 at 4:20:20 AM UTC-7, Sweety SW wrote: > > Is there any example available for using MessageDifferencer in java with > any extension ? > > I see classes exist in Truth-Proto extension, but how to use those classes > is what I am not able to figure out > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/056455f1-0a50-4e8b-bd92-747f89ff651a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
