cellFactory.applyItemProviderFont(item, cell, adapterFactory);
}
@Test
public void applyItemProviderLabel() {
IItemLabelProvider labelProvider = mock(IItemLabelProvider.class);
Object item = new Object();
String text = "";
URI imageURI = URI.createURI("");
when(labelProvider.getText(item)).thenReturn(text);
when(labelProvider.getImage(item)).thenReturn(imageURI);
ImageView graphic = new ImageView();
when(cellFactory.graphicFromObject(imageURI)).thenReturn(graphic);
when(adapterFactory.adapt(item, IItemLabelProvider.class)).thenReturn(labelProvider);
Cell<?> cell = new Cell<>();