summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/pomba/contextaggregator/service/ContextAggregatorServiceTest.java
diff options
context:
space:
mode:
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.java17
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();
}
}