@Test
public void prismRawDimensionNameTest() {

    String timeRangeString = "[0:1:1417]";
    String xRangeString = "[382:1:552]";
    String yRangeString = "[213:1:312]";
   
    
    Map<String, String> dimensionRawMapping = OPeNDAPUtils.getDimensionRawNameRangeMapping(prismGridDataSet.getNetcdfFile().getVariables(),
            xRangeString, yRangeString, timeRangeString);
    
    
    assertNotNull(dimensionRawMapping);
    assertThat(dimensionRawMapping.size(), is(equalTo(3)));
    
    // {time=[0:1:1417], lon=[382:1:552], lat=[213:1:312]}
    assertTrue(dimensionRawMapping.containsKey("time"));
    assertTrue(dimensionRawMapping.get("time").equals(timeRangeString));
    assertTrue(dimensionRawMapping.containsKey("lat"));
    assertTrue(dimensionRawMapping.get("lat").equals(yRangeString));
    assertTrue(dimensionRawMapping.containsKey("lon"));
    assertTrue(dimensionRawMapping.get("lon").equals(xRangeString));
}