@Test
public void ifWindowSizeGreaterThanListLengthFullListReturned(){

    List<Integer> list = asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15);
    List<Integer> endBoundaryWindow = findWindow(list, 8, 20);
    Assert.assertArrayEquals(
            "window size is greater than the length of the list",
            new Integer[]{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15},
            endBoundaryWindow.toArray());
}