Class ProtoSubjectBuilder
- java.lang.Object
-
- com.google.common.truth.CustomSubjectBuilder
-
- com.google.common.truth.extensions.proto.ProtoSubjectBuilder
-
public final class ProtoSubjectBuilder extends CustomSubjectBuilder
CustomSubjectBuilder
which aggregates all Proto-relatedSubject
classes into a single place.To obtain an instance, call
assertAbout(ProtoTruth.protos())
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <M extends Message>
MultimapWithProtoValuesSubject<M>that(@Nullable Multimap<?,M> map)
ProtoSubject
that(@Nullable Message message)
LiteProtoSubject
that(@Nullable MessageLite messageLite)
<M extends Message>
IterableOfProtosSubject<M>that(@Nullable Iterable<M> messages)
<M extends Message>
MapWithProtoValuesSubject<M>that(@Nullable Map<?,M> map)
-
Methods inherited from class com.google.common.truth.CustomSubjectBuilder
metadata
-
-
-
-
Method Detail
-
that
public LiteProtoSubject that(@Nullable MessageLite messageLite)
-
that
public ProtoSubject that(@Nullable Message message)
-
that
public <M extends Message> IterableOfProtosSubject<M> that(@Nullable Iterable<M> messages)
-
that
public <M extends Message> MapWithProtoValuesSubject<M> that(@Nullable Map<?,M> map)
-
that
public <M extends Message> MultimapWithProtoValuesSubject<M> that(@Nullable Multimap<?,M> map)
-
-