Package com.google.common.truth
Interface CustomSubjectBuilder.Factory<CustomSubjectBuilderT extends CustomSubjectBuilder>
-
- Enclosing class:
- CustomSubjectBuilder
public static interface CustomSubjectBuilder.Factory<CustomSubjectBuilderT extends CustomSubjectBuilder>
In a fluent assertion chain, the argument to the "custom" overload ofabout
, the method that specifies what kind ofSubject
to create.For more information about the fluent chain, 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
CustomSubjectBuilder.Factory
is necessary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomSubjectBuilderT
createSubjectBuilder(FailureMetadata metadata)
Creates a newCustomSubjectBuilder
of the appropriate type.
-
-
-
Method Detail
-
createSubjectBuilder
CustomSubjectBuilderT createSubjectBuilder(FailureMetadata metadata)
Creates a newCustomSubjectBuilder
of the appropriate type.
-
-