### Question:
ScrollbarImpl { public void bindToView( @Nonnull final ScrollbarView view, final float value, final float worldMax, final float worldPageSize, final float buttonStepSize, final float pageStepSize) { this.view = view; this.oldValue = -1; this.moveTheHandle = false; setup(value, worldMax, worldPageSize, buttonStepSize, pageStepSize); }  void bindToView(
      @Nonnull final ScrollbarView view,
      final float value,
      final float worldMax,
      final float worldPageSize,
      final float buttonStepSize,
      final float pageStepSize); void setup(
      final float value,
      final float worldMax,
      final float worldPageSize,
      final float buttonStepSize,
      final float pageStepSize); void setValue(final float value); float getValue(); void stepUp(); void stepDown(); void stepPageUp(); void stepPageDown(); float getWorldMax(); void setWorldMax(final float max); float getWorldPageSize(); void setWorldPageSize(final float worldPageSize); float getButtonStepSize(); void setButtonStepSize(final float buttonStepSize); float getPageStepSize(); void setPageStepSize(final float pageStepSize); void interactionClick(final int viewValueClicked); void interactionMove(final int viewValue); void updateView();  }### Answer:
@Test public void testMaxView() { view.setHandle(0, 1); view.valueChanged(0.f); replay(view); scrollbar.bindToView(view, 0.f, 16.f, viewSize, 1.f, 4.f); }
@Test public void testCurrentValueTooBigValue() { view.setHandle(0, 4); view.valueChanged(0.f); replay(view); scrollbar.bindToView(view, 1.f, 4.f, viewSize, 1.f, 4.f); }
@Test public void testCurrentValueMaximumValue() { view.setHandle(0, 4); view.valueChanged(0.f); replay(view); scrollbar.bindToView(view, 4.f, 4.f, viewSize, 1.f, 4.f); }
@Test public void testMovingCurrentValue() { view.setHandle(2, 1); view.valueChanged(8.f); replay(view); scrollbar.bindToView(view, 8.f, 16.f, viewSize, 1.f, 4.f); }
@Test public void testMaxEqualView() { view.setHandle(0, 4); view.valueChanged(0.f); replay(view); scrollbar.bindToView(view, 0.f, 4.f, viewSize, 1.f, 4.f); }
@Test public void testMaxDoubleView() { view.setHandle(0, 2); view.valueChanged(0.f); replay(view); scrollbar.bindToView(view, 0.f, 8.f, viewSize, 1.f, 4.f); }