Interface SpannedSubject.RubyText

  • Enclosing class:

    public static interface SpannedSubject.RubyText
    Allows assertions about a span's ruby text and its position.
    • Method Detail

      • withTextAndPosition

        SpannedSubject.AndSpanFlags withTextAndPosition​(String text,
                                               int position)
        Checks that at least one of the matched spans has the expected text.
        text - The expected text.
        position - The expected position of the text.
        A SpannedSubject.WithSpanFlags object for optional additional assertions on the flags.