@Test
public void getSegmentation() {

    final String segmentationName = "SEGMENTATION_NAME";
    final KiePMMLSegmentation retrieved = KiePMMLSegmentationFactory.getSegmentation(DATA_DICTIONARY,
                                                                                     TRANSFORMATION_DICTIONARY,
                                                                                     MINING_MODEL.getSegmentation(),
                                                                                     segmentationName,
                                                                                     KNOWLEDGE_BUILDER);
    assertNotNull(retrieved);
    assertEquals(segmentationName, retrieved.getName());
}