* ============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.
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;
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 {
//