checkIntervals(modelInstanceDirs.size(), DATA_TO_WRITE, WRITE_INTERVAL_MSEC, GEN_INTERVAL_SEC);
Path modelFile = modelInstanceDirs.get(0).resolve(MLUpdate.MODEL_FILE_NAME);
assertTrue("No such model file: " + modelFile, Files.exists(modelFile));
PMML pmml = PMMLUtils.read(modelFile);
List<Extension> extensions = pmml.getExtensions();
assertEquals(8, extensions.size());
assertNotNull(PMMLUtils.getExtensionValue(pmml, "X"));
assertNotNull(PMMLUtils.getExtensionValue(pmml, "Y"));
assertTrue(Boolean.parseBoolean(PMMLUtils.getExtensionValue(pmml, "implicit")));
assertEquals(0.001, Double.parseDouble(PMMLUtils.getExtensionValue(pmml, "lambda")));