Interface SpannedSubject.Colored
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.ColoredAllows assertions about the color of a span.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannedSubject.AndSpanFlagswithColor(int color)Checks that at least one of the matched spans has the expectedcolor.
-
-
-
Method Detail
-
withColor
SpannedSubject.AndSpanFlags withColor(@ColorInt int color)
Checks that at least one of the matched spans has the expectedcolor.- Parameters:
color- The expected color.- Returns:
- A
SpannedSubject.WithSpanFlagsobject for optional additional assertions on the flags.
-
-