assertEquals("bar", PMMLUtils.getExtensionValue(model, "foo"));
}
@Test
public void testExtensionContent() {
PMML model = buildDummyModel();
assertNull(PMMLUtils.getExtensionContent(model, "foo"));
PMMLUtils.addExtensionContent(model, "foo", Arrays.asList("bar", "baz"));
assertEquals(Arrays.<Object>asList("bar", "baz"), PMMLUtils.getExtensionContent(model, "foo"));
PMMLUtils.addExtensionContent(model, "foo", Collections.emptyList());
assertEquals(Arrays.<Object>asList("bar", "baz"), PMMLUtils.getExtensionContent(model, "foo"));