CugConfiguration extends ConfigurationBase implements AuthorizationConfiguration, CugConstants { @NotNull @Override public Context getContext() { return CugContext.INSTANCE; } @SuppressWarnings("UnusedDeclaration")  CugConfiguration();  CugConfiguration(@NotNull SecurityProvider securityProvider); @NotNull @Override AccessControlManager getAccessControlManager(@NotNull Root root, @NotNull NamePathMapper namePathMapper); @NotNull @Override RestrictionProvider getRestrictionProvider(); @NotNull @Override PermissionProvider getPermissionProvider(@NotNull Root root, @NotNull String workspaceName, @NotNull Set<Principal> principals); @NotNull @Override String getName(); @NotNull @Override RepositoryInitializer getRepositoryInitializer(); @NotNull @Override List<? extends CommitHook> getCommitHooks(@NotNull String workspaceName); @NotNull @Override List<? extends ValidatorProvider> getValidators(@NotNull String workspaceName, @NotNull Set<Principal> principals, @NotNull MoveTracker moveTracker); @NotNull @Override List<ProtectedItemImporter> getProtectedItemImporters(); @NotNull @Override Context getContext(); @Override void setParameters(@NotNull ConfigurationParameters config); @Reference(name="mountInfoProvider") void bindMountInfoProvider(MountInfoProvider mountInfoProvider); void unbindMountInfoProvider(MountInfoProvider mountInfoProvider); @Reference(name="exclude", cardinality = ReferenceCardinality.MANDATORY) void bindExclude(CugExclude exclude); void unbindExclude(CugExclude exclude);  }
@Test public void testGetContext() { assertSame(CugContext.INSTANCE, new CugConfiguration().getContext()); }