@Test
public void getSegment() {

    final Segment segment = MINING_MODEL.getSegmentation().getSegments().get(0);
    final KiePMMLSegment retrieved = KiePMMLSegmentFactory.getSegment(DATA_DICTIONARY,
                                                                      TRANSFORMATION_DICTIONARY,
                                                                      segment,
                                                                      KNOWLEDGE_BUILDER);
    commonEvaluateSegment(retrieved, segment);
}