### Question:
RemoteAssetsConfigImpl { public ResourceResolver getResourceResolver() { try { Map<String, Object> userParams = new HashMap<>(); userParams.put(ResourceResolverFactory.SUBSERVICE, RemoteAssets.SERVICE_NAME); ResourceResolver resourceResolver = this.resourceResolverFactory.getServiceResourceResolver(userParams); Session session = resourceResolver.adaptTo(Session.class); if (StringUtils.isNotBlank(this.getEventUserData())) { session.getWorkspace().getObservationManager().setUserData(this.getEventUserData()); } return resourceResolver; } catch (Exception e) { LOG.error("Remote assets functionality cannot be enabled - service user login failed"); throw new RemoteAssetsServiceException(e); } }  String getServer(); String getUsername(); String getPassword(); List<String> getTagSyncPaths(); List<String> getDamSyncPaths(); Integer getRetryDelay(); Integer getSaveInterval(); String getEventUserData(); Set<String> getWhitelistedServiceUsers(); Executor getRemoteAssetsHttpExecutor(); ResourceResolver getResourceResolver();  }### Answer:
@Test public void testGetResourceResolver() { Map<String, Object> remoteAssetsConfigs = getRemoteAssetsConfigs(); RemoteAssetsConfigImpl config = context.registerInjectActivateService(new RemoteAssetsConfigImpl(), remoteAssetsConfigs); ResourceResolver resourceResolver = config.getResourceResolver(); assertNotNull(resourceResolver); assertEquals("acs-commons-remote-assets-service", resourceResolver.getUserID()); }