}
@Test
public void example1() {
// EXAMPLE CODE START
final VennDiagram chart = GCharts.newVennDiagram(100, 80, 60, 30, 30, 30, 10);
chart.setTitle("Mr. Venn", WHITE, 16);
chart.setSize(600, 450);
chart.setCircleLegends("Set A", "Set B", "Set C");
chart.setCircleColors(YELLOW, RED, BLUE);
chart.setBackgroundFill(Fills.newSolidFill(BLACK));
String url = chart.toURLString();
// EXAMPLE CODE END. Use this url string in your web or
// Internet application.
Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).info(url);
String expectedString = "http://chart.apis.google.com/chart?cht=v&chs=600x450&chts=FFFFFF,16&chf=bg,s,000000&chco=FFFF00,FF0000,0000FF&chdl=Set+A|Set+B|Set+C&chd=e:..zMmZTNTNTNGa&chtt=Mr.+Venn";
assertEquals("Junit error", normalize(expectedString), normalize(url));