Class 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 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.