Package honeycrm.server.test.small.mocks

Examples of honeycrm.server.test.small.mocks.ContentViewMock


  private ContentPresenter presenter;
  private Display view;

  @Override
  protected void setUp() throws Exception {
    this.view = new ContentViewMock();
    this.eventBus = new SimpleEventBus();
    this.readService = createNiceMock(ReadServiceAsync.class);
    this.updateService = createNiceMock(UpdateServiceAsync.class);
    this.createService = createNiceMock(CreateServiceAsync.class);
  }
View Full Code Here


    pluginService = createNiceMock(PluginServiceAsync.class);
   
    eventBus = new SimpleEventBus();
    loadView = new LoadViewMock();
    headerView = new HeaderViewMock(loadView);
    contentView = new ContentViewMock();
    applicationView = createNiceMock(ApplicationPresenter.Display.class);

    expect(applicationView.getHeader()).andReturn(headerView);
    expect(applicationView.getContentView()).andReturn(contentView);
View Full Code Here

TOP

Related Classes of honeycrm.server.test.small.mocks.ContentViewMock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.