@Test
public void constructor_whenViewWidthIsWiderThanThreeTimesMaxThreshold_shouldSetThresholdTo100() throws Exception {

    stub(view.getWidth()).toReturn(500);
    subject = new AdAlertGestureListener(view, adConfiguration);
    assertThat(subject.getMinimumDipsInZigZag()).isEqualTo(100);
}