@Test
  public void testOverlayWhenScaleTypeFitXY() {
    helper.assertOverlayColorOk(100, 100, 100, 100, ScalingUtils.ScaleType.FIT_XY);

    helper.assertOverlayColorNotOk(100, 100, 1000, 100, ScalingUtils.ScaleType.FIT_XY);
    helper.assertOverlayColorNotOk(100, 100, 100, 1000, ScalingUtils.ScaleType.FIT_XY);
    helper.assertOverlayColorNotOk(100, 100, 1000, 1000, ScalingUtils.ScaleType.FIT_XY);
    helper.assertOverlayColorNotOk(100, 100, 10, 10, ScalingUtils.ScaleType.FIT_XY);
  }
Test cases for {@link DebugControllerOverlayDrawable} that are not included in the gradle build
as they depend on a working `ShadowMatrix` implementation.
drawee/src/test/java/com/facebook/drawee/debug/DebugControllerOverlayDrawableInternalTest.java