diff options
author | 2019-01-10 16:40:32 -0500 | |
---|---|---|
committer | 2019-01-10 16:56:45 -0500 | |
commit | c44a035ed8222c2b39bd0fd522b952fac61f9a36 (patch) | |
tree | 2f35316a9d892b8f73f1b2b655deb3b48fe8ae06 /src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java | |
parent | 011ac9cfcfd1d5aba077feffb0edbb25818e4ea0 (diff) |
Context Aggregator L2 Fabric
Upgraded the Context Aggregator to use the latest pomba-audit-common
model.
Also cleaned up a lot of whitespace and import order errors that were
being output by the ONAP audit.
Issue-ID: LOG-920
Change-Id: I0a7e15f19f28775bbd3e9cf4e95c4de176545ae1
Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java')
-rw-r--r-- | src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java b/src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java index bf4fbb5..4ae1878 100644 --- a/src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java +++ b/src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java @@ -15,8 +15,12 @@ * limitations under the License. * ============LICENSE_END===================================================== */ + package org.onap.pomba.contextaggregator.service; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Future; + import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; @@ -26,13 +30,10 @@ import org.mockito.MockitoAnnotations; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Future; - @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest -public class ContextAggregatorServiceTest -{ +public class ContextAggregatorServiceTest { + @Mock ContextAggregatorProcessor processor; @Mock @@ -43,14 +44,12 @@ public class ContextAggregatorServiceTest ContextAggregatorService contextAggregatorService; @Before - public void setUp() - { + public void setUp() { MockitoAnnotations.initMocks(this); } @Test - public void testInit() throws Exception - { + public void testInit() throws Exception { contextAggregatorService.init(); } } |