@Test public void testGetMaskedByteRangeGivingProperMaksedByteRange() {

 
ueryDimension dimension = new QueryDimension(segmentProperties.getDimensions().get(0).getColName());
imension.setDimension(segmentProperties.getDimensions().get(0));  
  int[] maskedByteRange = QueryUtil
      .getMaskedByteRange(Arrays.asList(dimension),
          segmentProperties.getDimensionKeyGenerator());
  int[] expectedMaskedByteRange = { 0 };
  for (int i = 0; i < maskedByteRange.length; i++) {
    assertEquals(expectedMaskedByteRange[i], maskedByteRange[i]);
  }
}