@Test
public void getBottomFadingEdgeStrength_childIsAboveButMarginIsBelowParent_isCorrect() {

    setup(100);
    mNestedScrollView.setVerticalFadingEdgeEnabled(true);
    setChildMargins(0, 100);
    measureAndLayout(100);
    float expected = mNestedScrollView.getBottomFadingEdgeStrength();
    assertThat(expected, is(1.0f));
}