LengthSlideWindow extends LengthBasedWindow { public LengthSlideWindow(int keepLength) { super(keepLength); } LengthSlideWindow(int keepLength); @Override void update(IEvent[] newData, IEvent[] oldData); @Override IView renewView();  }
@Test public void testLengthSlideWindow() { try { myView = new LengthSlideWindow(0); fail(); } catch (IllegalArgumentException ex) { assertTrue(true); } }