Use lombok in xacml-pdp
[policy/xacml-pdp.git] / applications / common / src / test / java / org / onap / policy / pdp / xacml / application / common / OnapPolicyFinderFactoryTest.java
index b5b8f7b..5df2552 100644 (file)
@@ -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;
@@ -31,13 +30,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 {
         //