Interface SpannedSubject.Aligned
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.AlignedAllows assertions about the alignment of a span.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannedSubject.AndSpanFlagswithAlignment(Layout.Alignment alignment)Checks that at least one of the matched spans has the expectedalignment.
-
-
-
Method Detail
-
withAlignment
SpannedSubject.AndSpanFlags withAlignment(Layout.Alignment alignment)
Checks that at least one of the matched spans has the expectedalignment.- Parameters:
alignment- The expected alignment.- Returns:
- A
SpannedSubject.WithSpanFlagsobject for optional additional assertions on the flags.
-
-