ConsoleContainerViewImpl extends Composite implements ConsoleContainerView { @Override public void selectWrapTextButton(boolean isChecked) { btnWrapText.setCheckedStatus(isChecked); } @Inject  ConsoleContainerViewImpl(RunnerResources resources,
                                    PartStackUIResources buttonIcons,
                                    ConsoleButtonFactory consoleButtonFactory,
                                    RunnerLocalizationConstant locale); @Override void setDelegate(ActionDelegate delegate); @Override void showWidget(@NotNull IsWidget console); @Override void removeWidget(@NotNull IsWidget console); @Override void selectWrapTextButton(boolean isChecked); @Override void setVisibleNoRunnerLabel(boolean visible);  }
@Test public void shouldSelectWrapTextButtonIsTrue() { view.selectWrapTextButton(true); verify(button1).setCheckedStatus(true); }
@Test public void shouldSelectWrapTextButtonIsFalse() { view.selectWrapTextButton(false); verify(button1).setCheckedStatus(false); }