- Direct Known Subclasses:
public abstract class CustomSubjectBuilder extends ObjectIn a fluent assertion chain, exposes one or more "custom"
thatmethods, which accept a value under test and return a
(Note that the "custom"
thatmethods are not defined on
CustomSubjectBuilderitself, only on its subtypes, which are the types users actually interact with.)
For more information about the methods in this class, see this FAQ entry.
For people extending Truth
When you write a custom subject, see our doc on extensions. It explains the cases in which
CustomSubjectBuilderis necessary, and it links to further instructions.