Class LiteProtoTruth
- java.lang.Object
-
- com.google.common.truth.extensions.proto.LiteProtoTruth
-
@CheckReturnValue public final class LiteProtoTruth extends Object
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 usingProtoTruth
, you should not import this class.LiteProtoTruth
is only useful if you cannot depend onProtoTruth
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LiteProtoSubject
assertThat(@Nullable MessageLite messageLite)
static Subject.Factory<LiteProtoSubject,MessageLite>
liteProtos()
-
-
-
Method Detail
-
assertThat
public static LiteProtoSubject assertThat(@Nullable MessageLite messageLite)
-
liteProtos
public static Subject.Factory<LiteProtoSubject,MessageLite> liteProtos()
-
-