1 package org.onap.aai.sparky.synchronizer;
3 import org.junit.Before;
5 import org.onap.aai.sparky.sync.SyncControllerRegistry;
6 import org.onap.aai.sparky.sync.SyncControllerService;
8 public class SyncControllerServiceTest {
10 private TestSyncController alpha;
11 private SyncControllerService syncService;
12 private SyncControllerRegistry syncControllerRegistry;
16 alpha = new TestSyncController("alpha");
17 syncControllerRegistry = new SyncControllerRegistry();
18 syncService = new SyncControllerService(syncControllerRegistry, 5,5);
23 public void validateControllerRegistration() {
25 syncControllerRegistry.registerSyncController( alpha );
27 syncService.startSync();
29 syncService.shutdown();