import static org.junit.Assert.assertSame;
import static org.junit.Assert.assertTrue;
-import java.util.Properties;
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
-import org.onap.policy.common.endpoints.utils.ParameterUtils;
import org.onap.policy.pdpx.main.CommonRest;
import org.onap.policy.pdpx.main.PolicyXacmlPdpException;
import org.onap.policy.pdpx.main.parameters.CommonTestData;
*/
public class TestXacmlPdpActivator extends CommonRest {
private static XacmlPdpParameterGroup parGroup;
- private static Properties props;
private XacmlPdpActivator activator = null;
final XacmlPdpCommandLineArguments arguments = new XacmlPdpCommandLineArguments(xacmlPdpConfigParameters);
parGroup = new XacmlPdpParameterHandler().getParameters(arguments);
- props = ParameterUtils.getTopicProperties(parGroup.getTopicParameterGroup());
-
// don't want the common "main" running
CommonRest.stopMain();
}
*/
@Before
public void setUp() {
- activator = new XacmlPdpActivator(parGroup, props);
+ activator = new XacmlPdpActivator(parGroup);
}
@Test