### Question:
SalesforceConfig { public Set<String> getOrgSet() { Set<String> tmp = new HashSet<>(); if (allowedOrganizations == null) { allowedOrganizations = ""; } String[] orgsSplit = allowedOrganizations.split("[,;]"); for (String s : orgsSplit) { tmp.add(s.toLowerCase(Locale.US).trim()); } return tmp; }  @NotNull(message = "Must set salesforce.allowed-organization with one or more Salesforce 18 char Organization Ids, or \"all\"") String getAllowedOrganizations(); Set<String> getOrgSet(); @Config("salesforce.allowed-organizations") @ConfigDescription("Comma separated list of Salesforce 18 Character Organization Ids.") SalesforceConfig setAllowedOrganizations(String allowedOrganizations); int getCacheSize(); @Config("salesforce.cache-size") @ConfigDescription("Maximum size of the cache that holds authenticated users. Default is 4096 entries.") SalesforceConfig setCacheSize(int cacheSize); @MaxDuration(value = "1h") Duration getCacheExpireDuration(); @Config("salesforce.cache-expire-duration") @ConfigDescription("Expire duration for an entry in cache since last write.") SalesforceConfig setCacheExpireDuration(Duration cacheExpireDuration);  }### Answer:
@Test public void testGetOrgSet() { String orgs = "my18CharOrgId,your18CharOrgId, his18CharOrgId ,her18CharOrgId"; int expected = (int) orgs.chars().filter(sep -> sep == ',').count() + 1; int actual = (new SalesforceConfig() .setAllowedOrganizations(orgs)).getOrgSet().size(); assertEquals(expected, actual); }