@Override
  public final void getSize(@NonNull SizeReadyCallback cb) {
    sizeDeterminer.getSize(cb);
  }
@Test
  public void getSize_withBothWrapContent_usesDisplayDimens() {
    LayoutParams layoutParams =
        new FrameLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);
    view.setLayoutParams(layoutParams);

    setDisplayDimens(200, 300);

    activity.visible();
    view.layout(0, 0, 0, 0);

    target.getSize(cb);

    verify(cb).onSizeReady(300, 300);
  }