@Test
public void inspectTypeAnnotations(){
PMML pmml = createPMML();
assertVersionRange(pmml, Version.PMML_3_0, Version.PMML_4_3);
pmml.addModels(new AssociationModel(),
new NaiveBayesModel(),
new NeuralNetwork(),
new RegressionModel(),
new RuleSetModel(),
new SequenceModel(),
new TextModel(),
new TreeModel());
assertVersionRange(pmml, Version.PMML_3_0, Version.PMML_4_3);
pmml.addModels(new TimeSeriesModel());
assertVersionRange(pmml, Version.PMML_4_0, Version.PMML_4_3);
pmml.addModels(new BaselineModel(),
new Scorecard(),
new NearestNeighborModel());
assertVersionRange(pmml, Version.PMML_4_1, Version.PMML_4_3);
pmml.addModels(new BayesianNetworkModel(),
new GaussianProcessModel());
assertVersionRange(pmml, Version.PMML_4_3, Version.PMML_4_3);
}