diff options
Diffstat (limited to 'applications/common/src/test/java')
-rw-r--r-- | applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/OnapPolicyFinderFactoryTest.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/OnapPolicyFinderFactoryTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/OnapPolicyFinderFactoryTest.java index b5b8f7b1..5df2552d 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/OnapPolicyFinderFactoryTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/OnapPolicyFinderFactoryTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP * ================================================================================ - * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -23,7 +23,6 @@ package org.onap.policy.pdp.xacml.application.common; import static org.assertj.core.api.Assertions.assertThat; -import static org.assertj.core.api.Assertions.assertThatExceptionOfType; import java.io.FileInputStream; import java.util.Properties; @@ -32,13 +31,6 @@ import org.junit.Test; public class OnapPolicyFinderFactoryTest { @Test - public void testNoUseConstructor() throws Exception { - assertThatExceptionOfType(OnapPolicyFinderFactoryException.class).isThrownBy(() -> { - new OnapPolicyFinderFactory(); - }).withMessageContaining("Please use the constructor with Properties object."); - } - - @Test public void testFinder() throws Exception { // // Load our test properties to use |