Interface SpannedSubject.AndSpanFlags
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.AndSpanFlags
Allows additional assertions to be made on the flags of matching spans.Identical to
SpannedSubject.WithSpanFlags
, but this should be returned fromwith...()
methods whileSpannedSubject.WithSpanFlags
should be returned fromhas...()
methods.See Flag constants on
Spanned
for possible values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
andFlags(int flags)
Checks that one of the matched spans has the expectedflags
.
-
-
-
Method Detail
-
andFlags
void andFlags(int flags)
Checks that one of the matched spans has the expectedflags
.- Parameters:
flags
- The expected flags. See SPAN_* constants onSpanned
for possible values.
-
-