PlotLineGlobalConfiguration { public static Font getMarkerFont() { ensureInitialized(); return markerFont; }  static Font getMarkerFont(); static PlotLineConnectionType getDefaultConnectionType(); static int getLegendPadding();  }
@Test public void testWithoutMappings() { Font marker = PlotLineGlobalConfiguration.getMarkerFont(); Assert.assertNotNull(marker); Assert.assertTrue(marker.getSize() >= 8); }
@Test (dataProvider = "fontStyles") public void testFontStyles(String style, Integer expected) { recordMapping("PlotLine.fontStyle", style); Font marker = PlotLineGlobalConfiguration.getMarkerFont(); int actual = marker.getStyle(); Assert.assertEquals(actual, expected.intValue()); }
@Test (dataProvider = "fontSizes") public void testFontStyles(Integer size) { recordMapping("PlotLine.fontSize", size.toString()); Font marker = PlotLineGlobalConfiguration.getMarkerFont(); int actual = marker.getSize(); Assert.assertEquals(actual, size.intValue()); }