Interface SpannedSubject.Typefaced
-
- Enclosing class:
- SpannedSubject
public static interface SpannedSubject.TypefacedAllows assertions about the typeface of a span.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpannedSubject.AndSpanFlagswithFamily(String fontFamily)Checks that at least one of the matched spans has the expectedfontFamily.
-
-
-
Method Detail
-
withFamily
SpannedSubject.AndSpanFlags withFamily(String fontFamily)
Checks that at least one of the matched spans has the expectedfontFamily.- Parameters:
fontFamily- The expected font family.- Returns:
- A
SpannedSubject.WithSpanFlagsobject for optional additional assertions on the flags.
-
-