### Question:
GenericFacesConverter extends WebApplicationObjectSupport implements ConditionalGenericConverter { public Set<ConvertiblePair> getConvertibleTypes() { return Collections.singleton(new ConvertiblePair(String.class, Object.class)); }  Set<ConvertiblePair> getConvertibleTypes(); boolean matches(TypeDescriptor sourceType, TypeDescriptor targetType); Object convert(final Object source, final TypeDescriptor sourceType, final TypeDescriptor targetType);  }### Answer:
@Test @SuppressWarnings("rawtypes") public void shouldConvertStringToObject() throws Exception { Set<ConvertiblePair> types = this.converter.getConvertibleTypes(); assertThat(types.size(), is(1)); ConvertiblePair pair = types.iterator().next(); assertThat(pair.getSourceType(), is(equalTo((Class) String.class))); assertThat(pair.getTargetType(), is(equalTo((Class) Object.class))); }