@Test
public void getBottomFadingEdgeStrength_childBottomIsBelowParentDuetoMargins_isCorrect() {

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