ViewSpecification specification = new ExampleViewSpecification();
ViewAxis axis = null;
Content content = new RootObject(object);
View view = new ObjectBorder(1, new TestObjectView(content, specification, axis, 200, 90, "Normal"));
view.setLocation(new Location(100, 20));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view = new ObjectBorder(4, new TestObjectView(content, specification, axis, 100, 50, "wide border"));
view.setLocation(new Location(100, 160));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view.getState().setContentIdentified();
view = new ObjectBorder(1, new TestObjectView(content, specification, axis, 100, 50, "identified"));
view.setLocation(new Location(100, 350));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view.getState().setContentIdentified();
view = new ObjectBorder(1, new TestObjectView(content, specification, axis, 100, 50, "active"));
view.setLocation(new Location(100, 230));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view.getState().setActive();
view = new ObjectBorder(1, new TestObjectView(content, specification, axis, 100, 50, "can drop"));
view.setLocation(new Location(100, 290));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view.getState().setCanDrop();
view = new ObjectBorder(1, new TestObjectView(content, specification, axis, 100, 50, "can't drop"));
view.setLocation(new Location(100, 410));
view.setSize(view.getRequiredSize(new Size()));
workspace.addView(view);
view.getState().setCantDrop();
}