}
@Test
public void applyTableItemProviderFont() {
Object item = mock(Object.class);
ITableItemFontProvider itemProvider = mock(ITableItemFontProvider.class);
when(itemProvider.getFont(item, COLUMN_INDEX)).thenReturn(fontObject);
when(adapterFactory.adapt(item, ITableItemFontProvider.class)).thenReturn(itemProvider);
Cell cell = new Cell();
cellFactory.applyTableItemProviderFont(item, COLUMN_INDEX, cell, adapterFactory);
assertEquals(font, cell.getFont());
}