@Test
public void lpcExtractorUsesWindowsOfCorrectLengthForMostUsedSampleRates() {

    final int[] i = new int[1];
    new MockUp<WindowFunction>() {
        @Mock void applyFunction(double[] window) {
            assertThat(window.length, is(equalTo(WINDOW_LENGTHS[i[0]])));
        }
    };
    while(i[0] < SAMPLE_RATES.length) {
        lpc = new LpcFeaturesExtractor(SAMPLE_RATES[i[0]], POLES);
        lpc.extractFeatures(new double[1024]);
        i[0]++;
    }
}