DefaultWorkbenchPreferenceScopeResolutionStrategies implements WorkbenchPreferenceScopeResolutionStrategies { @Override public PreferenceScopeResolutionStrategyInfo getUserInfoFor(final String scopeType, final String scopeKey) { return preferenceScopeResolutionStrategy.getInfo(); } DefaultWorkbenchPreferenceScopeResolutionStrategies();  DefaultWorkbenchPreferenceScopeResolutionStrategies(final PreferenceScopeResolutionStrategy preferenceScopeResolutionStrategy); @Override PreferenceScopeResolutionStrategyInfo getUserInfoFor(final String scopeType,
                                                                final String scopeKey); @Override PreferenceScopeResolutionStrategyInfo getSpaceInfoFor(final String scopeKey);  }
@Test public void getUserInfoForTest() { strategies.getUserInfoFor(anyString(), anyString()); verify(preferenceScopeResolutionStrategy).getInfo(); }