public static interface SpannedSubject.WithSpanFlags
Identical to SpannedSubject.AndSpanFlags
, but this should be returned from has...()
methods
while SpannedSubject.AndSpanFlags
should be returned from with...()
methods.
Modifier and Type | Method | Description |
---|---|---|
void |
withFlags(int flags) |
Checks that one of the matched spans has the expected
flags . |
void withFlags(int flags)
flags
.flags
- The expected flags. See SPAN_* constants on Spanned
for possible values.