@CheckReturnValue public final class LiteProtoTruth extends Object
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.
Modifier and Type | Method and Description |
---|---|
static LiteProtoSubject<?,com.google.protobuf.MessageLite> |
assertThat(com.google.protobuf.MessageLite messageLite) |
static LiteProtoSubject.Factory<?,com.google.protobuf.MessageLite> |
liteProtos() |
public static LiteProtoSubject<?,com.google.protobuf.MessageLite> assertThat(@NullableDecl com.google.protobuf.MessageLite messageLite)
public static LiteProtoSubject.Factory<?,com.google.protobuf.MessageLite> liteProtos()
Copyright © 2018. All rights reserved.