@Test
public void testSetToInvalid_withMph() {

    final TestSample[] samples = createSampleArray(7);
    MphChlUtils.setToInvalid(samples, true);
    assertEquals(Double.NaN, samples[0].getDouble(), 1e-8);
    assertEquals(0.0, samples[1].getDouble(), 1e-8);
    assertEquals(0.0, samples[2].getDouble(), 1e-8);
    assertEquals(0.0, samples[3].getDouble(), 1e-8);
    assertEquals(0.0, samples[4].getDouble(), 1e-8);
    assertEquals(Double.NaN, samples[5].getDouble(), 1e-8);
}