@CheckReturnValue @ParametersAreNonnullByDefault public final class LiteProtoTruth extends Object
This class implements a subset of what ProtoTruth provides, so if you are already
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 AbstractVerb.about(SubjectFactory) 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(@Nullable com.google.protobuf.MessageLite messageLite)
public static LiteProtoSubject.Factory<?,com.google.protobuf.MessageLite> liteProtos()
Copyright © 2017. All rights reserved.