@Test
public void testGetPattern_throwsWhenValueCannotBeParsed() {

    final Configuration config = new Configuration();
    config.put("mms.pattern.atsr.3", "oooopsi");
    config.put(Configuration.KEY_MMS_MMD_SENSORS, "atsr.3");
    try {
        MmdTool.getPattern(config);
        fail("ToolException expected");
    } catch (ToolException expected) {
        //
    }
}