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