List of usage examples for org.springframework.ide.eclipse.boot.dash.test.mocks MockCloudFoundryClientFactory MockCloudFoundryClientFactory
public MockCloudFoundryClientFactory()
From source file:org.springframework.ide.eclipse.boot.dash.test.CloudFoundryBootDashModelMockingTest.java
@Before public void setup() throws Exception { StsTestUtil.deleteAllProjects();/*www . j av a2 s .c o m*/ this.context = new TestBootDashModelContext(ResourcesPlugin.getWorkspace(), DebugPlugin.getDefault().getLaunchManager()); this.clientFactory = new MockCloudFoundryClientFactory(); this.harness = CloudFoundryTestHarness.create(context, clientFactory); this.projects = new BootProjectTestHarness(context.getWorkspace()); this.ui = mock(UserInteractions.class); this.actions = new BootDashActions(harness.model, harness.selection.forReading(), harness.sectionSelection, ui); }