Class SimpleSubjectBuilder<SubjectT extends Subject,​ActualT>

  • public final class SimpleSubjectBuilder<SubjectT extends Subject,​ActualT>
    extends java.lang.Object
    In a fluent assertion chain, exposes the most common that method, which accepts a value under test and returns a Subject.

    For more information about the methods in this class, see this FAQ entry.

    For people extending Truth

    You won't extend this type. When you write a custom subject, see our doc on extensions.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SubjectT that​(@Nullable ActualT actual)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait