@Test
public void testParseDimensions_missingDimensionInPropertiesThrows() {

    final List<String> dimensionNames = new ArrayList<>();
    dimensionNames.add("right");
    final Properties dimensionProps = new Properties();
    try {
        DimensionConfigurationInitializer.parseDimensionConfiguration(dimensionNames, dimensionProps);
        fail("ToolException expected");
    } catch (ToolException expected) {
        assertEquals("Length of dimension 'right' is not configured.", expected.getMessage());
    }
}