" setFields(new FormItem[] { field });",
" }",
"}");
form.refresh();
// set new bounds
FormItemInfo item = form.getItems().get(0);
form.command_BOUNDS(item, new Point(30, 20), new Dimension(150, 100));
form.refresh();
// check bounds
Rectangle bounds = item.getBounds();
assertThat(bounds.getLocation()).isEqualTo(new Point(30, 20));
assertThat(bounds.getSize()).isEqualTo(new Dimension(150, 100));
assertEditor(
"public class Test extends DynamicForm {",
" public Test() {",