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