void () { final ConfigKey configKey = ConfigKey.ACCESSORS_PREFIX; when(fileBasedIndex.getValues(eq(LombokConfigIndex.NAME), eq(configKey), any(GlobalSearchScope.class))) .thenReturn(makeValue("+_d;"), Collections.emptyList(), makeValue("-a;+cc"), makeValue("+a;+b")); final Collection<String> properties = discovery.getMultipleValueLombokConfigProperty(configKey, psiClass); assertThat(properties, hasItems("b", "cc", "_d")); }