### Question:
NameFieldRenderer extends FieldRenderer<NameFieldDefinition, DefaultFormGroup> implements RequiresValueConverter { @Override public Converter getConverter() { return CONVERTER; } @Inject  NameFieldRenderer(final TextBox textBox); @Override String getName(); @Override Converter getConverter();  }### Answer:
@Test public void testConverterModelType() { assertEquals(Name.class, renderer.getConverter().getModelType()); }
@Test public void testConverterComponentType() { assertEquals(String.class, renderer.getConverter().getComponentType()); }
@Test @SuppressWarnings("unchecked") public void testConverterToModelValue() { assertEquals(new Name(NAME), renderer.getConverter().toModelValue(NAME)); }
@Test @SuppressWarnings("unchecked") public void testConverterToWidgetValue() { assertEquals(NAME, renderer.getConverter().toWidgetValue(new Name(NAME))); }