@Test
public void constructor_shouldSetThresholdToOneThirdOfViewsWidth() throws Exception {

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