diff options
Diffstat (limited to 'sparkybe-onap-service/src/test')
-rw-r--r-- | sparkybe-onap-service/src/test/java/org/onap/aai/sparky/aggregation/sync/HistoricalEntitySyncControllerTest.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/aggregation/sync/HistoricalEntitySyncControllerTest.java b/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/aggregation/sync/HistoricalEntitySyncControllerTest.java new file mode 100644 index 0000000..9527520 --- /dev/null +++ b/sparkybe-onap-service/src/test/java/org/onap/aai/sparky/aggregation/sync/HistoricalEntitySyncControllerTest.java @@ -0,0 +1,16 @@ +package org.onap.aai.sparky.aggregation.sync; + + +import org.junit.Test; + +import static org.junit.Assert.assertEquals; + +public class HistoricalEntitySyncControllerTest { + + @Test + public void shouldConvertMinutesToMs() { + assertEquals(60000, HistoricalEntitySyncController.getTaskFrequencyInMs(1)); + assertEquals(120000, HistoricalEntitySyncController.getTaskFrequencyInMs(2)); + } + +}
\ No newline at end of file |