+ assertTrue(dpm.validate("").isValid());
+ }
+
+ @Test
+ public void testPfReferenceValidation() {
+ PfConceptKey dpmKey = new PfConceptKey("modelKey", VERSION001);
+ DummyPfModel dpm = new DummyPfModel(dpmKey);
+
+ PfConceptKey goodCKey = new PfConceptKey("goodCKey", VERSION001);
+ PfReferenceKey goodRKey = new PfReferenceKey(goodCKey, "goodLocalName");
+
+ dpm.getKeyList().add(goodCKey);
+ dpm.getKeyList().add(goodRKey);
+ assertTrue(dpm.validate("").isValid());