@Test(expected = KiePMMLModelException.class)
public void validateNoKiePMMLMiningModel() {

    String name = "NAME";
    KiePMMLModel kiePMMLModel = new KiePMMLModel(name, Collections.emptyList()) {
        @Override
        public Object evaluate(Object knowledgeBase, Map<String, Object> requestData) {
            return null;
        }
    };
    evaluator.validate(kiePMMLModel);
}