@Test public void testGetMaskedByteRangeBasedOrdinalGivingProperMaskedByte() {

  List<Integer> dimensionOrdinal = new ArrayList<Integer>();
  dimensionOrdinal.add(0);
  int[] maskedByteRange = QueryUtil.getMaskedByteRangeBasedOrdinal(dimensionOrdinal,
      segmentProperties.getDimensionKeyGenerator());
  int[] expectedMaskedByteRange = { 0 };
  for (int i = 0; i < maskedByteRange.length; i++) {
    assertEquals(expectedMaskedByteRange[i], maskedByteRange[i]);
  }
}