@Test public void loadingResourceShouldWork() { final Set<String> knownClasses = ClassWithInterfaceFieldsRegistry.getKnownClasses(); assertThat(knownClasses).isNotEmpty(); assertThat(knownClasses).size().isEqualTo(4); assertThat(knownClasses).contains( "me.snowdrop.istio.api.test.Simple", "me.snowdrop.istio.api.test.Interface", "me.snowdrop.istio.api.test.Class", "me.snowdrop.istio.api.test.Map"); }
static Set<String> getKnownClasses() { return Collections.unmodifiableSet(classNameToFieldInfos.keySet()); }
ClassWithInterfaceFieldsRegistry { static Set<String> getKnownClasses() { return Collections.unmodifiableSet(classNameToFieldInfos.keySet()); } }
ClassWithInterfaceFieldsRegistry { static Set<String> getKnownClasses() { return Collections.unmodifiableSet(classNameToFieldInfos.keySet()); }  }
ClassWithInterfaceFieldsRegistry { static Set<String> getKnownClasses() { return Collections.unmodifiableSet(classNameToFieldInfos.keySet()); }   }
ClassWithInterfaceFieldsRegistry { static Set<String> getKnownClasses() { return Collections.unmodifiableSet(classNameToFieldInfos.keySet()); }    }