Interface SpannedSubject.AbsoluteSized

  • Enclosing class:
    SpannedSubject

    public static interface SpannedSubject.AbsoluteSized
    Allows assertions about the absolute size of a span.
    • Method Detail

      • withAbsoluteSize

        SpannedSubject.AndSpanFlags withAbsoluteSize​(int size)
        Checks that at least one of the matched spans has the expected size.
        Parameters:
        size - The expected size.
        Returns:
        A SpannedSubject.WithSpanFlags object for optional additional assertions on the flags.