Fix sonars from dependency upgrade

The dependency upgrades in policy-parent caused some new sonars.  In
particular, initMocks() has been deprecated - replaced with calls to the
Mockito Runner.  Also removed unnecessary when() calls.

Issue-ID: POLICY-2912
Change-Id: If386bd282635067a20045f2626af0cf5be49bc0e
Signed-off-by: Jim Hahn <jrh3@att.com>
12 files changed
tree: 25b74675cc3a13c6011de0c3277b786c2d906e24
  1. applications/
  2. main/
  3. packages/
  4. postman/
  5. releases/
  6. testsuites/
  7. tutorials/
  8. xacml-test/
  9. .gitignore
  10. .gitreview
  11. checkstyle-suppressions.xml
  12. INFO.yaml
  13. LICENSE.txt
  14. lombok.config
  15. pom.xml
  16. README.md
  17. version.properties
README.md

Copyright 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 XACML PDP engine code.

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