Interface SpannedSubject.AbsoluteSized
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.AbsoluteSized
Allows assertions about the absolute size of a span.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannedSubject.AndSpanFlags
withAbsoluteSize(int size)
Checks that at least one of the matched spans has the expectedsize
.
-
-
-
Method Detail
-
withAbsoluteSize
SpannedSubject.AndSpanFlags withAbsoluteSize(int size)
Checks that at least one of the matched spans has the expectedsize
.- Parameters:
size
- The expected size.- Returns:
- A
SpannedSubject.WithSpanFlags
object for optional additional assertions on the flags.
-
-