Convert tests with Mocking to SpringBootTest 48/78548/1
authormark.j.leonard <mark.j.leonard@gmail.com>
Fri, 15 Feb 2019 11:16:58 +0000 (11:16 +0000)
committermark.j.leonard <mark.j.leonard@gmail.com>
Fri, 15 Feb 2019 11:16:58 +0000 (11:16 +0000)
commit209cd56d7f2f885a94fc5f937c4376fc0ffbd922
tree2c4d56bded12a9134bd43b42eef524993330558b
parent13b3d5d42bae10ce2733c86814177c3e31eb2014
Convert tests with Mocking to SpringBootTest

Remove the dependency on Mockito and instead use the Spring framework
for testing with Mocks. This allows greater control over the properties
that are used by the test classes.

Change-Id: I3a72d41f3015f831f425f99cf44417bccdb2c823
Issue-ID: AAI-2057
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
pom.xml
src/test/java/org/onap/aai/validation/TestApplication.java
src/test/java/org/onap/aai/validation/config/TestTopicConfig.java
src/test/java/org/onap/aai/validation/modeldriven/validator/TestModelDrivenValidator.java
src/test/java/org/onap/aai/validation/services/TestInfoService.java
src/test/resources/test-application.properties [new file with mode: 0644]