TextParseableContent content = new DummyTextParseableField(SHORT_TEXT);
ViewSpecification specification = new ExampleViewSpecification();
ViewAxis axis = null;
SingleLineTextField textField = new SingleLineTextField(content, specification, axis, true);
textField.setParent(parent);
textField.setWidth(200);
textField.setLocation(new Location(50, 20));
textField.setSize(textField.getRequiredSize(new Size()));
workspace.addView(textField);
textField = new SingleLineTextField(content, specification, axis, false);
textField.setParent(parent);
textField.setWidth(80);
textField.setLocation(new Location(50, 80));
textField.setSize(textField.getRequiredSize(new Size()));
workspace.addView(textField);
content = new DummyTextParseableField(LONG_TEXT);
WrappedTextField view = new WrappedTextField(content, specification, axis, false);
view.setParent(parent);