@Test
public void applyItemProviderFont() {
IItemFontProvider fontProvider = mock(IItemFontProvider.class);
Object item = new Object();
URI fontURI = URI.createURI("font://Arial/8/");
Font font = new Font(8);
when(fontProvider.getFont(item)).thenReturn(fontURI);
when(adapterFactory.adapt(item, IItemFontProvider.class)).thenReturn(fontProvider);
when(cellFactory.fontFromObject(fontURI)).thenReturn(font);
Cell<?> cell = new Cell<>();
cellFactory.applyItemProviderFont(item, cell, adapterFactory);