@Test
public void normalizingValuesContainingOneIsANoOp() {

    Arrays.fill(values, 0.1d);
    values[10] = 1.0d;
    double[] values2 = Arrays.copyOf(values, values.length);
    double gainMultiplier = normalizer.normalize(values, 22050.0f);
    assertThat(gainMultiplier, is(equalTo(1.0d)));
    assertThat(values, is(equalTo(values2)));
}