### Question:
DynamicFormBuilder extends CanvasBuilder<DynamicForm, DynamicFormBuilder> { public DynamicFormBuilder setFields(FormItem... fields) { instance().setFields(fields); return me(); } DynamicFormBuilder(DynamicForm instance); static DynamicFormBuilder buildDynamicForm(); DynamicFormBuilder setNumCols(int numCols); DynamicFormBuilder setAutoFocus(Boolean autoFocus); DynamicFormBuilder setFields(FormItem... fields);  }### Answer:
@Test public void test_setsFields() { final FormItem[] fields = new FormItem[] { new FormItem() }; dynamicFormBuilder.setFields(fields); verify(dynamicForm).setFields(fields); }
@Test public void test_returnsBuilderWhenSettingFields() { assertEquals(dynamicFormBuilder, dynamicFormBuilder.setFields()); }