### Question:
LabelValueExtractorRegistry { @SuppressWarnings("unchecked") public <T> Optional<Set<LabelValueExtractor<T>>> getLabelValueExtractors(Class<T> sourceType) { return (Optional<Set<LabelValueExtractor<T>>>) Optional.ofNullable((T) extractorsBySourceType.get(sourceType)); } private  LabelValueExtractorRegistry(); static LabelValueExtractorRegistry getInstance(); synchronized void registerExtractors(ClassLoader classLoader); @SuppressWarnings("unchecked") Optional<Set<LabelValueExtractor<T>>> getLabelValueExtractors(Class<T> sourceType); void applyLabelValueExtractors(Class<T> sourceType, T source, BiConsumer<String, Set<Object>> extractedValuesConsumer);  }### Answer:
@Test public void getLabelValueExtractorsForUser() { getLabelValueExtractors(User.class, 2); }
@Test public void getLabelValueExtractorsForTaskData() { getLabelValueExtractors(TaskData.class, 3); }