@Test public void getDynReg() { Set<SystemScope> dynReg = Sets.newHashSet(defaultDynScope1, defaultDynScope2, dynScope1); assertThat(service.getDynReg(), equalTo(dynReg)); }
@Override public Set<SystemScope> getDynReg() { return Sets.filter(getAll(), isDynReg); }
DefaultSystemScopeService implements SystemScopeService { @Override public Set<SystemScope> getDynReg() { return Sets.filter(getAll(), isDynReg); } }
DefaultSystemScopeService implements SystemScopeService { @Override public Set<SystemScope> getDynReg() { return Sets.filter(getAll(), isDynReg); }  }
DefaultSystemScopeService implements SystemScopeService { @Override public Set<SystemScope> getDynReg() { return Sets.filter(getAll(), isDynReg); }  @Override Set<SystemScope> getAll(); @Override Set<SystemScope> getDefaults(); @Override Set<SystemScope> getDynReg(); @Override SystemScope getById(Long id); @Override SystemScope getByValue(String value); @Override void remove(SystemScope scope); @Override SystemScope save(SystemScope scope); @Override Set<SystemScope> fromStrings(Set<String> scope); @Override Set<String> toStrings(Set<SystemScope> scope); @Override boolean scopesMatch(Set<String> expected, Set<String> actual); @Override Set<String> removeRestrictedScopes(Set<String> scopes); }
DefaultSystemScopeService implements SystemScopeService { @Override public Set<SystemScope> getDynReg() { return Sets.filter(getAll(), isDynReg); }  @Override Set<SystemScope> getAll(); @Override Set<SystemScope> getDefaults(); @Override Set<SystemScope> getDynReg(); @Override SystemScope getById(Long id); @Override SystemScope getByValue(String value); @Override void remove(SystemScope scope); @Override SystemScope save(SystemScope scope); @Override Set<SystemScope> fromStrings(Set<String> scope); @Override Set<String> toStrings(Set<SystemScope> scope); @Override boolean scopesMatch(Set<String> expected, Set<String> actual); @Override Set<String> removeRestrictedScopes(Set<String> scopes);  }