### Question:
ProcessTypeProvider extends AbstractProcessFilteredNodeProvider { @Override @SuppressWarnings("unchecked") public SelectorData getSelectorData(final FormRenderingContext context) { return new SelectorData(Arrays.asList(TYPES) .stream() .collect(Collectors.toMap(p -> p, p -> p)), "Public"); } @Inject  ProcessTypeProvider(final SessionManager sessionManager); @Override String getProviderName(); @Override Predicate<Node> getFilter(); @Override Function<Node, Pair<Object, String>> getMapper(); @Override @SuppressWarnings("unchecked") SelectorData getSelectorData(final FormRenderingContext context);  }### Answer:
@Test public void testGetValues() { SelectorData selectorData = tested.getSelectorData(context); assertEquals(2, selectorData.getValues().size()); assertEquals("Public", selectorData.getSelectedValue()); assertTrue(selectorData.getValues().containsValue("Public")); assertTrue(selectorData.getValues().containsValue("Private")); }