@Test
public void testNearestTimeStep_oneTimeValue() {

    when(array.getSize()).thenReturn(1L);
    when(array.getInt(0)).thenReturn(15);
    final int nearestTimeStep = NwpUtil.nearestTimeStep(array, 18);
    assertEquals(0, nearestTimeStep);
}