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 of about, the method that specifies what kind of Subject 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.