@Test(expected = KiePMMLInternalException.class)
public void validateMiningEmptyTargetField() {

    String name = "NAME";
    KiePMMLMiningModel kiePMMLMiningModel = KiePMMLMiningModel.builder(name, Collections.emptyList(),
                                                                       MINING_FUNCTION.ASSOCIATION_RULES)
            .withTargetField("     ")
            .build();
    evaluator.validateMining(kiePMMLMiningModel);
}