### Question:
TextAreaFieldRenderer extends FieldRenderer<TextAreaFieldDefinition, DefaultFormGroup> implements RequiresValueConverter { @Override protected FormGroup getFormGroup(RenderMode renderMode) { DefaultFormGroup formGroup = formGroupsInstance.get(); if (renderMode.equals(RenderMode.PRETTY_MODE)) { formGroup.render(new HTML(), field); } else { String inputId = generateUniqueId(); textArea.setId(inputId); textArea.setName(fieldNS); textArea.setPlaceholder(field.getPlaceHolder()); textArea.setVisibleLines(field.getRows()); textArea.setEnabled(!field.getReadOnly()); formGroup.render(inputId, textArea, field); registerFieldRendererPart(textArea); } return formGroup; }  @Override String getName(); @Override Converter getConverter();  }### Answer:
@Test public void testGetFormGroup() { renderer.getFormGroup(RenderMode.EDIT_MODE); verify(formGroupsInstance).get(); verify(textArea).setId(any()); verify(textArea).setName(anyString()); verify(textArea).setPlaceholder(eq(fieldDefinition.getPlaceHolder())); verify(textArea).setVisibleLines(eq(fieldDefinition.getRows())); verify(textArea).setEnabled(eq(!fieldDefinition.getReadOnly())); verify(formGroup).render(anyString(), eq(textArea), eq(fieldDefinition)); }