@Test
public void testCreateOnClickListener() {

    OnClickListener wrappedListener = mock(OnClickListener.class);
    final OnClickListener onClickListener =
            mRequireScrollMixin.createOnClickListener(wrappedListener);
    mRequireScrollMixin.notifyScrollabilityChange(true);
    onClickListener.onClick(null);
    verify(wrappedListener, never()).onClick(any(View.class));
    verify(mDelegate).pageScrollDown();
    mRequireScrollMixin.notifyScrollabilityChange(false);
    onClickListener.onClick(null);
    verify(wrappedListener).onClick(any(View.class));
}