@Test
public void getSanitizedId() {

    final String modelName = "MODEL_NAME";
    String id = "2";
    String expected = String.format(SEGMENTID_TEMPLATE, modelName, id);
    String retrieved = KiePMMLUtil.getSanitizedId(id, modelName);
    assertEquals(expected,retrieved);
    id = "34.5";
    expected = String.format(SEGMENTID_TEMPLATE, modelName, id);
    retrieved = KiePMMLUtil.getSanitizedId(id, modelName);
    assertEquals(expected,retrieved);
    id = "3,45";
    expected = String.format(SEGMENTID_TEMPLATE, modelName, id);
    retrieved = KiePMMLUtil.getSanitizedId(id, modelName);
    assertEquals(expected,retrieved);
}