@Test
public void testGet() {

    Series s1 = new SimpleXYSeries("s1");
    Formatter f1 = new LineAndPointFormatter();
    Series s2 = new SimpleXYSeries("s2");
    Formatter f2 = new LineAndPointFormatter();
    Formatter f3 = new LineAndPointFormatter();
    seriesRegistry.add(s1, f1);
    seriesRegistry.add(s1, f3);
    seriesRegistry.add(s2, f2);
    assertEquals(2, seriesRegistry.get(s1).size());
    assertEquals(1, seriesRegistry.get(s2).size());
}