@Activate
    public void activate() {
        providerService = providerRegistry.register(this);
        appId = coreService.registerApplication(APP_NAME);
        controller.addRouterListener(routerListener);
        log.info("Started");
    }
@Test
    public void activate() throws Exception {

        assertEquals("Provider should be registered", 1,
                            providerRegistry.getProviders().size());
        assertTrue("LISP device provider should be registered",
                            providerRegistry.getProviders().contains(provider.id()));
        assertEquals("Incorrect provider service",
                            providerService, provider.providerService);
        assertEquals("LISP router listener should be registered", 1,
                            routerListeners.size());
    }