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 ofSubjectto 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.Factoryis necessary.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomSubjectBuilderTcreateSubjectBuilder(FailureMetadata metadata)Creates a newCustomSubjectBuilderof the appropriate type.
-
-
-
Method Detail
-
createSubjectBuilder
CustomSubjectBuilderT createSubjectBuilder(FailureMetadata metadata)
Creates a newCustomSubjectBuilderof the appropriate type.
-
-