### Question:
ConversionContext { public TypeLiteral<?> getTargetType(){ return targetType; } protected  ConversionContext(Builder builder); String getKey(); List<PropertyValue> getValues(); TypeLiteral<?> getTargetType(); AnnotatedElement getAnnotatedElement(); Configuration getConfiguration(); Map<String, String> getMeta(); void addSupportedFormats(@SuppressWarnings("rawtypes") Class<?> converterType, String... formatDescriptors); List<String> getSupportedFormats(); Builder toBuilder(); @Override String toString(); @Deprecated ConfigurationContext getConfigurationContext(); static final ConversionContext EMPTY; }### Answer:
@Test public void getSetTargetType() throws Exception { ConversionContext ctx = new ConversionContext.Builder("getTargetType", TypeLiteral.of(String.class)).build(); assertThat(ctx.getTargetType()).isEqualTo(TypeLiteral.of(String.class)); ctx = new ConversionContext.Builder("setTargetType", TypeLiteral.of(String.class)).setTargetType(TypeLiteral.of(Integer.class)).build(); assertThat(ctx.getTargetType()).isEqualTo(TypeLiteral.of(Integer.class)); }