@Test
public void should_delegate_to_fontOf_in_driver() {
Font font = mock(Font.class);
ComponentDriver driver = fixture.driver();
Component component = fixture.target();
when(driver.fontOf(component)).thenReturn(font);
assertThat(fixture.font().target()).isSameAs(font);
verify(driver).fontOf(component);
}
@Test