ExternalPrincipalConfiguration extends ConfigurationBase implements PrincipalConfiguration { @SuppressWarnings("UnusedDeclaration") @Deactivate private void deactivate() { if (syncConfigTracker != null) { syncConfigTracker.close(); } if (syncHandlerMappingTracker != null) { syncHandlerMappingTracker.close(); } } @SuppressWarnings("UnusedDeclaration")  ExternalPrincipalConfiguration();  ExternalPrincipalConfiguration(SecurityProvider securityProvider); @NotNull @Override PrincipalManager getPrincipalManager(Root root, NamePathMapper namePathMapper); @NotNull @Override PrincipalProvider getPrincipalProvider(Root root, NamePathMapper namePathMapper); @NotNull @Override String getName(); @NotNull @Override RepositoryInitializer getRepositoryInitializer(); @NotNull @Override List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker); @NotNull @Override List<ProtectedItemImporter> getProtectedItemImporters(); @NotNull @Override List<ThreeWayConflictHandler> getConflictHandlers();  }
@Test public void testDeactivateWithNullTrackers() { ExternalPrincipalConfiguration epc = new ExternalPrincipalConfiguration(getSecurityProvider()); MockOsgi.deactivate(epc, context.bundleContext(), Collections.emptyMap()); }