@Test public void testAnimatedScrollToBottomWithOneArgument() { final Element element = mock(Element.class); final int scrollHeight = 123; element.scrollHeight = scrollHeight; doNothing().when(scrollHelper).animatedScrollToBottom(any(), anyDouble()); scrollHelper.animatedScrollToBottom(element); verify(scrollHelper).animatedScrollToBottom(element, scrollHeight); }
public void animatedScrollToBottom(final Element element) { animatedScrollToBottom(element, element.scrollHeight); }
ScrollHelper { public void animatedScrollToBottom(final Element element) { animatedScrollToBottom(element, element.scrollHeight); } }
ScrollHelper { public void animatedScrollToBottom(final Element element) { animatedScrollToBottom(element, element.scrollHeight); }  }
ScrollHelper { public void animatedScrollToBottom(final Element element) { animatedScrollToBottom(element, element.scrollHeight); }  void animatedScrollToBottom(final Element element); void scrollToBottom(final Element element); void scrollTo(final Element target,
                         final Element container,
                         final int padding); void scrollTo(final Element target,
                         final Element container); }
ScrollHelper { public void animatedScrollToBottom(final Element element) { animatedScrollToBottom(element, element.scrollHeight); }  void animatedScrollToBottom(final Element element); void scrollToBottom(final Element element); void scrollTo(final Element target,
                         final Element container,
                         final int padding); void scrollTo(final Element target,
                         final Element container);  }