@Test
public void testGetRelevantNwpDirs_threeMeasurements_plusInvalid() throws IOException {

    when(array.getSize()).thenReturn(4L);
    when(array.getInt(0)).thenReturn(220945222);
    when(array.getInt(1)).thenReturn(220975771);
    when(array.getInt(2)).thenReturn(Integer.MIN_VALUE);
    when(array.getInt(3)).thenReturn(220992459);
    final List<String> relevantNwpDirs = NwpUtil.getRelevantNwpDirs(variable, null);
    assertNotNull(relevantNwpDirs);
    assertEquals(6, relevantNwpDirs.size());
    assertEquals("1984/12/29", relevantNwpDirs.get(0));
    assertEquals("1985/01/01", relevantNwpDirs.get(3));
    assertEquals("1985/01/03", relevantNwpDirs.get(5));
}