@Test
public void testStreamSummary()
{

    StreamSummary<String> vs = new StreamSummary<String>(3);
    String[] stream = {"X", "X", "Y", "Z", "A", "B", "C", "X", "X", "A", "A", "A"};
    for (String i : stream)
    {
        vs.add(i);
        /*
    for(String s : vs.poll(3))
    System.out.print(s+" ");
         */
        System.out.println(vs);
    }
}