@Test
public void testParseIntervalMapString() {

    IntervalStringMap expected = new IntervalStringMap();
    expected.put(new Interval(1, 2), "Value1");
    expected.put(new Interval(3, 5), "Value2");
    expected.put(new Interval(5, 6), "Value 3");
    expected.put(new Interval(6, 7), " Value 4 ");
    assertEqualIntervalMaps(expected, IntervalsParser.parseIntervalMap(String.class, "[1, 2, Value1]; [3, 5, 'Value2']; [5, 6, Value 3]; [6, 7, \" Value 4 \"]"));
}