@Test public void testBlockMetadataHasProperMeasureBlockMapping() {

  Map<Integer, Integer> measureOrdinalToBlockMapping = new HashMap<Integer, Integer>();
  measureOrdinalToBlockMapping.put(0, 0);
  measureOrdinalToBlockMapping.put(1, 1);
  Map<Integer, Integer> measureOrdinalToBlockMappingActual =
      blockMetadataInfos.getMeasuresOrdinalToBlockMapping();
  assertEquals(measureOrdinalToBlockMapping.size(), measureOrdinalToBlockMappingActual.size());
  Iterator<Entry<Integer, Integer>> iterator = measureOrdinalToBlockMapping.entrySet().iterator();
  while (iterator.hasNext()) {
    Entry<Integer, Integer> next = iterator.next();
    Integer integer = measureOrdinalToBlockMappingActual.get(next.getKey());
    if (integer != next.getValue()) {
      assertTrue(false);
    }
  }
  assertTrue(true);
}