Class LiteProtoTruth
java.lang.Object
com.google.common.truth.extensions.proto.LiteProtoTruth
A set of static methods to begin a Truth assertion chain for the lite version of protocol
buffers.
This class implements a subset of what ProtoTruth provides, so if you are already
using ProtoTruth, you should not import this class. LiteProtoTruth is only useful
if you cannot depend on ProtoTruth for dependency management reasons.
Note: Usage of different failure strategies such as assume and expect should rely on about(liteProtos()) to begin a chain with those alternative behaviors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LiteProtoSubjectassertThat(@Nullable MessageLite messageLite) static Subject.Factory<LiteProtoSubject, MessageLite>
-
Method Details
-
assertThat
-
liteProtos
-