Fix new sonars in policy/pap

Addressed the following sonar issues:
- too many assertions in test method
- extract common test method
- replace this null literal by an "Optional" object

Issue-ID: POLICY-2679
Change-Id: Ie80e5c5fdb94230a2773ea2931758cf54204ae86
Signed-off-by: Jim Hahn <jrh3@att.com>
3 files changed
tree: 2caa753a7298175f95711a870f56b6befdee1481
  1. main/
  2. packages/
  3. postman/
  4. releases/
  5. testsuites/
  6. .gitignore
  7. .gitreview
  8. INFO.yaml
  9. LICENSE.txt
  10. lombok.config
  11. pom.xml
  12. README.md
  13. version.properties
README.md

Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy Administration Point Backend code.

To build it using Maven 3, run: mvn clean install