### Question:
SessionPresenterView extends Composite implements SessionPresenter.View { @Override public void setContentScrollType(final ScrollType type) { final Style style = sessionContainer.getElement().getStyle(); switch (type) { case AUTO: style.setOverflow(Style.Overflow.AUTO); break; case CUSTOM: style.setOverflow(Style.Overflow.HIDDEN); } }  @PostConstruct void init(); @Override IsWidget getCanvasWidget(); @Override IsWidget getToolbarWidget(); @Override IsWidget getSessionHeaderContainer(); @Override IsWidget getPaletteWidget(); @Override ScrollType getContentScrollType(); @Override SessionPresenterView setToolbarWidget(final IsWidget widget); @Override SessionPresenterView setSessionHeaderContainer(final IsWidget widget); @Override SessionPresenterView setPaletteWidget(final PaletteWidget<PaletteDefinition> paletteWidget); @Override SessionPresenterView setCanvasWidget(final IsWidget widget); @Override void setContentScrollType(final ScrollType type); @Override SessionPresenterView showError(final String message); @Override void showSessionHeaderContainer(final int sessionHeaderHeight); @Override void hideSessionHeaderContainer(); @Override SessionPresenter.View showWarning(final String message); @Override SessionPresenterView showMessage(final String message); @Override SessionPresenterView showLoading(final boolean loading); @Override void onResize(); void destroy();  }### Answer:
@Test public void testSetContentScrollTypeAuto() { tested.setContentScrollType(SessionPresenter.View.ScrollType.AUTO); verify(sessionContainerElementStyle).setOverflow(Style.Overflow.AUTO); }
@Test public void testSetContentScrollTypeCustom() { tested.setContentScrollType(SessionPresenter.View.ScrollType.CUSTOM); verify(sessionContainerElementStyle).setOverflow(Style.Overflow.HIDDEN); }