static List<MiningField> getMiningTargetFields(final MiningSchema miningSchema) {
        return getMiningTargetFields(miningSchema.getMiningFields());
    }
@Test
    void getMiningTargetFieldsFromMiningFields() throws Exception {
        final InputStream inputStream = getFileInputStream(NO_MODELNAME_SAMPLE_NAME);
        final PMML toPopulate = org.jpmml.model.PMMLUtil.unmarshal(inputStream);
        final Model model = toPopulate.getModels().get(0);
        List<MiningField> retrieved = KiePMMLUtil.getMiningTargetFields(model.getMiningSchema().getMiningFields());
        assertThat(retrieved).isNotNull();
        assertThat(retrieved).hasSize(1);
        MiningField targetField = retrieved.get(0);
        assertThat(targetField.getName()).isEqualTo("car_location");
        assertThat(targetField.getUsageType().value()).isEqualTo("target");
    }