@Test
public void testFontWithComponent() {

    final JLabel label = new JLabel();
    CellContext context = new CellContext() {
        @Override
        public JComponent getComponent() {
            return label;
        }
        
    };
    assertNotNull("sanity", label.getFont());
    assertEquals(label.getFont(), context.getFont());
}