public static interface SpannedSubject.Aligned
Modifier and Type | Method | Description |
---|---|---|
SpannedSubject.AndSpanFlags |
withAlignment(Layout.Alignment alignment) |
Checks that at least one of the matched spans has the expected
alignment . |
SpannedSubject.AndSpanFlags withAlignment(Layout.Alignment alignment)
alignment
.alignment
- The expected alignment.SpannedSubject.WithSpanFlags
object for optional additional assertions on the flags.