Assert.assertNotNull(font);
final String[] names = font.getName().split(" ");
int i = 0;
assertThat(names[i++]).isEqualToIgnoringCase(ff.family());
if (FontWeight.NORMAL != ff.weight()) {
assertThat(names[i++]).isEqualToIgnoringCase(ff.weight().name());
}