public void testBeginExtensionWhenFilterLongButDataSmall() {
double[] data = {1, 2};
Filter filter = new Filter(new double[]{1, 1, 1, 1, 1, 1, 1});
double[] result = new Extensioner(data)
.schedule(new CyclicBeginExtension(filter.getLength()))
.execute();
double[] expected = {2, 1, 2, 1, 2, 1, 2, 1, 2};
assertArrayEquals(expected, result, 0);
}