// Test setup
ProjectRpcAsync projServiceObserver = EasyMock.createMock(ProjectRpcAsync.class);
AttributesView.Presenter mockParent = EasyMock.createMock(AttributesView.Presenter.class);
AttributeView mockAttributeView = EasyMock.createMock(AttributeView.class);
Attribute targetAttribute = new Attribute();
targetAttribute.setParentProjectId(0L);
targetAttribute.setAttributeId(1234L);
targetAttribute.setDescription("Test");
// Verify this initialization sequence
mockAttributeView.setPresenter((Presenter) EasyMock.anyObject());
mockAttributeView.setAttributeName(targetAttribute.getName());
mockAttributeView.setDescription("Test");
mockAttributeView.setAttributeId(1234L);
mockAttributeView.setLabels(new ArrayList<AccLabel>());
EasyMock.replay(mockAttributeView, mockParent);
AttributePresenter testPresenter = new AttributePresenter(
targetAttribute, mockAttributeView, mockParent);