From 5be846bcdbe6e9dfa3b81e4b95de37acea18d1a2 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Fri, 21 Jun 2019 11:21:14 +0000 Subject: Replace uses of getCanonicalName() with getName() in APEX Change-Id: Ifcd8866e65a7bc1238d5a4137f7bad288a5bfb3b Issue-ID: POLICY-1861 Signed-off-by: a.sreekumar --- .../testsuites/integration/common/model/SampleDomainModelSaverTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/integration/integration-common') diff --git a/testsuites/integration/integration-common/src/test/java/org/onap/policy/apex/testsuites/integration/common/model/SampleDomainModelSaverTest.java b/testsuites/integration/integration-common/src/test/java/org/onap/policy/apex/testsuites/integration/common/model/SampleDomainModelSaverTest.java index 744f47db8..ab34f5442 100644 --- a/testsuites/integration/integration-common/src/test/java/org/onap/policy/apex/testsuites/integration/common/model/SampleDomainModelSaverTest.java +++ b/testsuites/integration/integration-common/src/test/java/org/onap/policy/apex/testsuites/integration/common/model/SampleDomainModelSaverTest.java @@ -43,7 +43,7 @@ public class SampleDomainModelSaverTest { SampleDomainModelSaver.main(null); fail("test should throw an exception"); } catch (Exception exc) { - assertEquals("java.lang.NullPointerException", exc.getClass().getCanonicalName()); + assertEquals("java.lang.NullPointerException", exc.getClass().getName()); } String[] args0 = -- cgit 1.2.3-korg