Interface SpannedSubject.EmphasizedText
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.EmphasizedTextAllows assertions about a span's text emphasis mark and its position.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannedSubject.AndSpanFlagswithMarkAndPosition(int markShape, int markFill, int position)Checks that at least one of the matched spans has the expectedmarkandposition.
-
-
-
Method Detail
-
withMarkAndPosition
SpannedSubject.AndSpanFlags withMarkAndPosition(@MarkShape int markShape, @MarkFill int markFill, @Position int position)
Checks that at least one of the matched spans has the expectedmarkandposition.- Parameters:
markShape- The expected mark shape.markFill- The expected mark fill style.position- The expected position of the mark.- Returns:
- A
SpannedSubject.AndSpanFlagsobject for optional additional assertions on the flags.
-
-