Interface SpannedSubject.AndSpanFlags
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.AndSpanFlagsAllows additional assertions to be made on the flags of matching spans.Identical to
SpannedSubject.WithSpanFlags, but this should be returned fromwith...()methods whileSpannedSubject.WithSpanFlagsshould be returned fromhas...()methods.See Flag constants on
Spannedfor possible values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidandFlags(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 onSpannedfor possible values.
-
-