Class PathSubject


  • @GwtIncompatible
    @J2ObjCIncompatible
    public final class PathSubject
    extends Subject
    Assertions for Path instances.
    Since:
    1.3.0 (previously part of truth-java8-extension)
    • Method Detail

      • paths

        public static Subject.Factory<PathSubject,​java.nio.file.Path> paths()
        Obsolete factory instance. This factory was previously necessary for assertions like assertWithMessage(...).about(intStreams()).that(stream)..... Now, you can perform assertions like that without the about(...) call.