RunnerExtension { @Inject public void setUpRunnerConsole(WorkspaceAgent workspaceAgent, RunnerManagerPresenter runnerManagerPresenter) { workspaceAgent.openPart(runnerManagerPresenter, PartStackType.INFORMATION, new Constraints(AFTER, BUILDER_PART_ID)); } @Inject  RunnerExtension(RunnerResources resources); @Inject void setUpRunnerConsole(WorkspaceAgent workspaceAgent, RunnerManagerPresenter runnerManagerPresenter); @Inject void setUpRunActions(ActionManager actionManager,
                                RunAction runAction,
                                RunWithAction runWithAction,
                                ChooseRunnerAction chooseRunner,
                                CreateCustomRunnerAction createCustomRunner); static final String BUILDER_PART_ID; static final String RUNNER_LIST; }
@Test public void runnerPanelShouldBeOpened() throws Exception { WorkspaceAgent workspaceAgent = mock(WorkspaceAgent.class); RunnerManagerPresenter runnerManagerPresenter = mock(RunnerManagerPresenter.class); extension.setUpRunnerConsole(workspaceAgent, runnerManagerPresenter); verify(workspaceAgent).openPart(eq(runnerManagerPresenter), eq(PartStackType.INFORMATION), constraintsCaptor.capture()); verifyConstants(Anchor.AFTER, BUILDER_PART_ID); }