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