WindowInt { public int size() { return this.data.length; } WindowInt(int size); int size(); void shift(); void add(int i); int[] getData();  }
@Test public void testSize() { WindowInt w = new WindowInt(5); Assert.assertEquals(5, w.size()); }